From ea8036f37b5ff5995d18224c6d8f0e96c12b31e0 Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Thu, 30 Nov 2023 16:53:49 -0600 Subject: vultr fish --- fish/config.fish-vultr | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 fish/config.fish-vultr (limited to 'fish') diff --git a/fish/config.fish-vultr b/fish/config.fish-vultr new file mode 100644 index 0000000..b171528 --- /dev/null +++ b/fish/config.fish-vultr @@ -0,0 +1,40 @@ +# system paths +set -gx PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + +# alias +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 helix + set -gx ALTERNATE_EDITOR nano + set -gx VISUAL helix + + # 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 + +# ui +starship init fish | source + -- cgit v1.2.3