diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-12-18 11:32:46 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-12-18 11:32:46 -0600 |
| commit | 54e0baaddfbdeed8b5a18922dfa97617578a51b2 (patch) | |
| tree | b2a4f1d3e5d13667275121f5a03ab7ff6d779b3f /fish | |
| parent | 9e52c02067cc616ce4202db8f3e15e3406f2837f (diff) | |
added
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/config.fish-arch-vm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/fish/config.fish-arch-vm b/fish/config.fish-arch-vm new file mode 100644 index 0000000..5cfae6d --- /dev/null +++ b/fish/config.fish-arch-vm @@ -0,0 +1,41 @@ +alias c="clear" +alias h="history" +alias gpg-agent-restart="gpg-connect-agent reloadagent /bye" +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 + +# perl vars +set -gx PERL_UNICODE AS +set -gx PERL_READLINE_NOWARN yes + +# cpp-related (install clang, libc++, lld, gtest, poco, cmake) +set -gx CC clang +set -gx CXX clang++ + |
