diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-11-18 16:25:30 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-11-18 16:25:30 -0600 |
| commit | 39a233ae2fa1268275702a89c21487ae21a7d383 (patch) | |
| tree | 44092eb89444a149d3d99b1626de9c5a9003e273 /fish | |
| parent | e3b42f3ee8341cb141a91e8f31e45b948b03c55b (diff) | |
nix
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/config.fish-nixos | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/fish/config.fish-nixos b/fish/config.fish-nixos new file mode 100644 index 0000000..afae918 --- /dev/null +++ b/fish/config.fish-nixos @@ -0,0 +1,41 @@ +alias c="clear" +alias h="history" +alias gpg-agent-restart="gpg-connect-agent reloadagent /bye" +alias glhut="hut --config=$HOME/.grokloc/.config/hut/config" +alias format-patch="git format-patch --subject-prefix="PATCH" -o ~/patches HEAD^" + +if status is-interactive + # locale + set -gx LANG en_US.UTF-8 + set -gx LC_ALL en_US.UTF-8 + + # history + set -gx HISTFILE $HOME/.histfile + set -gx HISTSIZE 10000 + set -gx SAVEHIST 10000 + + # default editor + set -gx EDITOR hx + set -gx ALTERNATE_EDITOR nano + set -gx VISUAL hx + + # gnupg + set -gx GPG_TTY (tty) + gpg-connect-agent updatestartuptty /bye >/dev/null + + clear +end + +# local bin +set -gx PATH $HOME/bin $PATH + +# pager +set -gx PAGER bat + +# grokloc-related +set -gx REPOSITORY_BASE /tmp +set -gx POSTGRES_APP_URL postgres://grokloc:grokloc@localhost:5432/app + +# perl vars +set -gx PERL_UNICODE AS +set -gx PERL_READLINE_NOWARN yes |
