aboutsummaryrefslogtreecommitdiffstats
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-06 19:15:10 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-06 19:15:10 +0800
commit028ab301fe80c9ed872fe8ba4be2819648e30d97 (patch)
treee3788bddd4bc9732577cde23c5c8a38824ddbc8d /.config/fish/config.fish
parent6f2380babe7dcfb204937f0f734443a6c854106f (diff)
downloaddotfiles-028ab301fe80c9ed872fe8ba4be2819648e30d97.tar.bz2
Add fish & redshift configs; Update gpg configs; Add mutt scripts
Diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish30
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
new file mode 100644
index 0000000..24151d5
--- /dev/null
+++ b/.config/fish/config.fish
@@ -0,0 +1,30 @@
+#
+# ~/.config/fish/config.fish
+#
+#
+# Aaron LI
+# 2015-09-26
+#
+
+# vi mode
+fish_vi_mode
+
+set -U EDITOR vim
+
+## PATH
+# ~/bin
+if test -d $HOME/bin
+ set -U fish_user_paths $HOME/bin $fish_user_paths
+end
+# admin paths
+if groups | grep -qE '\b(wheel|adm|sudo)\b'
+ set -U fish_user_paths $fish_user_paths /usr/local/sbin /usr/sbin /sbin
+end
+
+# local config
+set -l localconfig "$HOME/.config/fish/config.local.fish"
+if test -f $localconfig
+ source $localconfig
+end
+
+# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=fish: #