summaryrefslogtreecommitdiff
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2021-04-16 14:58:45 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2021-04-16 14:58:45 +0200
commit534744db72b63e9ab6a9ab3f35a6aa59d45d3b5b (patch)
tree90c54fbe3fc30eee5da0763eb44966d66c91daf7 /.config/fish/config.fish
Add dotfiles.
Diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish29
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
new file mode 100644
index 0000000..1e54d8c
--- /dev/null
+++ b/.config/fish/config.fish
@@ -0,0 +1,29 @@
+# https://reckoning.dev/fish-shell/
+set -g theme_powerline_fonts yes
+set -g theme_nerd_fonts yes
+set -g theme_display_git_stashed_verbose yes
+set -g theme_display_git_master_branch yes
+set -g theme_display_git_untracked yes
+set -g theme_display_git_dirty yes
+set -g theme_display_nvm yes
+set -g theme_display_virtualenv yes
+set -g theme_color_scheme zenburn
+
+fundle plugin 'edc/bass'
+fundle plugin 'oh-my-fish/plugin-php'
+fundle plugin 'danhper/fish-fastdir'
+fundle plugin 'danhper/fish-theme-afowler'
+fundle plugin 'oh-my-fish/theme-bobthefish'
+
+fundle init
+
+# set path. See https://github.com/fish-shell/fish-shell/issues/527
+set PATH ~/.cargo/bin $PATH
+set PATH ~/.local/bin $PATH
+
+# Bootstrap fisher. See https://github.com/jorgebucaran/fisher
+if not functions -q fisher
+ set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
+ curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
+ fish -c fisher
+end