summaryrefslogtreecommitdiff
path: root/fish/config.fish-vultr
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2023-11-30 16:53:49 -0600
committerBrad Clawsie <brad@b7j0c.org>2023-11-30 16:53:49 -0600
commitea8036f37b5ff5995d18224c6d8f0e96c12b31e0 (patch)
tree55fca8f6a54f75962ffbb94620d9789d8ab46b97 /fish/config.fish-vultr
parent32f056868d511762577a329b0387bf1e5adeddf6 (diff)
vultr fish
Diffstat (limited to 'fish/config.fish-vultr')
-rw-r--r--fish/config.fish-vultr40
1 files changed, 40 insertions, 0 deletions
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
+