aboutsummaryrefslogtreecommitdiff
path: root/fish
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-02-06 20:49:39 +0100
committerAdrian Kummerlaender2016-02-06 20:49:39 +0100
commitbcf90f9c7893f2c711bd8a13bd4d78f9dd211db2 (patch)
treefc6cf7780a1b960e0d0245f9954b2a01d4810157 /fish
parent6fefd0c4bf8779d928be1580f1b6cd758561f73f (diff)
downloaddotfiles-bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2.tar
dotfiles-bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2.tar.gz
dotfiles-bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2.tar.bz2
dotfiles-bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2.tar.lz
dotfiles-bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2.tar.xz
dotfiles-bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2.tar.zst
dotfiles-bcf90f9c7893f2c711bd8a13bd4d78f9dd211db2.zip
Add current time to rhs of custom fish prompt
Diffstat (limited to 'fish')
-rw-r--r--fish/.config/fish/config.fish2
-rw-r--r--fish/.config/fish/functions/fish_prompt.fish6
2 files changed, 7 insertions, 1 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index 49831ce..4a674cb 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -1,7 +1,7 @@
umask 0077
set EDITOR vim
-set PATH $PATH /usr/local/texlive/2014/bin/x86_64-linux
+set PATH $PATH /usr/local/bin/ /usr/local/texlive/2014/bin/x86_64-linux
set fish_greeting ""
diff --git a/fish/.config/fish/functions/fish_prompt.fish b/fish/.config/fish/functions/fish_prompt.fish
index bcf8ef7..076eeae 100644
--- a/fish/.config/fish/functions/fish_prompt.fish
+++ b/fish/.config/fish/functions/fish_prompt.fish
@@ -31,3 +31,9 @@ function fish_prompt
echo -n -s ' ▸ '
end
end
+
+function fish_right_prompt
+ set_color $fish_color_autosuggestion
+ date '+%H:%M:%S'
+ set_color normal
+end