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/functions |
Initial commit
Diffstat (limited to 'fish/functions')
-rw-r--r-- | fish/functions/fish_prompt.fish | 6 | ||||
-rw-r--r-- | fish/functions/fish_right_prompt.fish | 3 |
2 files changed, 9 insertions, 0 deletions
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 |