diff options
author | noa@gaiwan.org | 2024-03-18 23:34:19 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-03-18 23:34:19 +0000 |
commit | d73eea18892a877433c8ae04f9514cd6f49c4e74 (patch) | |
tree | 45efe9fda58d69fe79e1f890ae01c42c286a9551 /fish |
Initial commit
Diffstat (limited to 'fish')
-rw-r--r-- | fish/config.fish | 34 | ||||
-rw-r--r-- | fish/functions/fish_prompt.fish | 6 | ||||
-rw-r--r-- | fish/functions/fish_right_prompt.fish | 3 |
3 files changed, 43 insertions, 0 deletions
diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..2f110c6 --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,34 @@ +if status is-interactive + # Commands to run in interactive sessions can go here +end + +set fish_greeting + +fish_add_path $HOME/Scripts + +# unset most of the colours +set fish_color_normal normal +set fish_color_autosuggestion --underline +set fish_color_cancel --reverse +set fish_color_command +set fish_color_comment +set fish_color_cwd +set fish_color_cwd_root +set fish_color_end +set fish_color_error +set fish_color_escape +set fish_color_history_current --underline +set fish_color_host +set fish_color_host_remote +set fish_color_keyword +set fish_color_match --background=red +set fish_color_operator +set fish_color_option +set fish_color_param +set fish_color_quote +set fish_color_redirection +set fish_color_search_match --reverse +set fish_color_selection --background=green +set fish_color_status +set fish_color_user +set fish_color_valid_path diff --git a/fish/functions/fish_prompt.fish b/fish/functions/fish_prompt.fish new file mode 100644 index 0000000..eeec7d8 --- /dev/null +++ b/fish/functions/fish_prompt.fish @@ -0,0 +1,6 @@ +function fish_prompt + #set_color $fish_color_cwd + echo -n (basename $PWD) + #set_color normal + echo -n ' ) ' +end diff --git a/fish/functions/fish_right_prompt.fish b/fish/functions/fish_right_prompt.fish new file mode 100644 index 0000000..c3235a5 --- /dev/null +++ b/fish/functions/fish_right_prompt.fish @@ -0,0 +1,3 @@ +function fish_right_prompt + date '+%H:%M' +end |