From 49c3f6a1bfbc5aace59fab0aba24ee8477b37385 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Thu, 27 Aug 2020 12:37:34 -0400 Subject: [PATCH] Oh My Fish & bobthefish Theme - Add oh-my-fish repo as submodule - Remove powerline shell from fish - Move fish greeting from config.fish to fish_greeting.fish function - Add bobthefish configuration to config.fish --- .config/fish/config.fish | 15 +++++++-------- .config/fish/functions/fish_greeting.fish | 5 +++++ .config/fish/functions/fish_prompt.fish | 1 + .config/oh-my-fish | 1 + .gitmodules | 3 +++ 5 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 .config/fish/functions/fish_greeting.fish create mode 120000 .config/fish/functions/fish_prompt.fish create mode 160000 .config/oh-my-fish diff --git a/.config/fish/config.fish b/.config/fish/config.fish index bd8c9a5..0fe6292 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,11 +1,3 @@ -# Fish Greeting -set fish_greeting "¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸><(((º>" - -# PowerLine Shell -function fish_prompt - powerline-shell --shell bare $status -end - # Color Scripts /bin/bash /opt/shell-color-scripts/colorscript.sh -r @@ -16,3 +8,10 @@ alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' export EDITOR="code -w" export TERM=xterm-256color export XDG_CONFIG_HOME=$HOME/.config + +# bobthefish Configuration +set -g theme_nerd_fonts yes +set -g theme_display_user yes +set -g fish_prompt_pwd_dir_length 0 +set -g theme_color_scheme dracula +set -g theme_newline_cursor yes \ No newline at end of file diff --git a/.config/fish/functions/fish_greeting.fish b/.config/fish/functions/fish_greeting.fish new file mode 100644 index 0000000..433ad3c --- /dev/null +++ b/.config/fish/functions/fish_greeting.fish @@ -0,0 +1,5 @@ +function fish_greeting + set_color $fish_color_autosuggestion + echo "¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸><(((º>" + set_color normal +end \ No newline at end of file diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish new file mode 120000 index 0000000..62e385d --- /dev/null +++ b/.config/fish/functions/fish_prompt.fish @@ -0,0 +1 @@ +/home/sravan/.local/share/omf/themes/bobthefish/fish_prompt.fish \ No newline at end of file diff --git a/.config/oh-my-fish b/.config/oh-my-fish new file mode 160000 index 0000000..4ff9981 --- /dev/null +++ b/.config/oh-my-fish @@ -0,0 +1 @@ +Subproject commit 4ff9981ac2082e2c06f37ce5c8ac344ee51605ad diff --git a/.gitmodules b/.gitmodules index 0d58cf3..e61c0fb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule ".config/slstatus"] path = .config/slstatus url = https://github.com/balajsra/slstatus.git +[submodule ".config/oh-my-fish"] + path = .config/oh-my-fish + url = git@github.com:oh-my-fish/oh-my-fish.git