feat: add fish
This commit is contained in:
parent
bf6e728a3a
commit
c1cd2e0291
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
function cal --description 'alias cal cal -w --always=color'
|
||||
command cal -w --color=always $argv;
|
||||
end
|
|
@ -0,0 +1 @@
|
|||
/home/adam/.local/share/omf/themes/bobthefish/fish_prompt.fish
|
|
@ -0,0 +1,3 @@
|
|||
function lsp
|
||||
sudo $argv
|
||||
end
|
Loading…
Reference in New Issue