feat: add fish

This commit is contained in:
Adam 2021-10-14 15:29:42 -06:00
parent bf6e728a3a
commit c1cd2e0291
5 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Path to Oh My Fish install.
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Load Oh My Fish configuration.
source $OMF_PATH/init.fish

View File

@ -0,0 +1,21 @@
set -g theme_color_scheme solarized-dark
set -g theme_title_display_path no
set -g theme_title_display_user yes
set -g theme_date_format "+%Y-%m-%d %H:%M:%S - m:%b d:%a w:%V"
set -g theme_display_user yes
set -g theme_display_hostname yes
set -g theme_display_sudo_user yes
set -g theme_show_exit_status yes
set -g theme_display_date yes
set -g theme_display_cmd_duration yes
set -g theme_display_docker_machine yes
set -g theme_display_git_master_branch yes
set -g fish_prompt_pwd_dir_length 0
set -g TERM xterm-256color
neofetch

View File

@ -0,0 +1,3 @@
function cal --description 'alias cal cal -w --always=color'
command cal -w --color=always $argv;
end

View File

@ -0,0 +1 @@
/home/adam/.local/share/omf/themes/bobthefish/fish_prompt.fish

View File

@ -0,0 +1,3 @@
function lsp
sudo $argv
end