From 8485ef33d611ad6ebd949c1c8bb50f4d6f4deac1 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Mon, 19 Dec 2016 17:38:45 +0100 Subject: [PATCH] Tests. --- fish/prompt_pwd.fish | 3 --- install.sh | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 fish/prompt_pwd.fish diff --git a/fish/prompt_pwd.fish b/fish/prompt_pwd.fish deleted file mode 100644 index ead0964..0000000 --- a/fish/prompt_pwd.fish +++ /dev/null @@ -1,3 +0,0 @@ -function prompt_pwd - pwd | sed -e 's|/private||' -e "s|$HOME|~|" -end diff --git a/install.sh b/install.sh index c24b367..1490ead 100644 --- a/install.sh +++ b/install.sh @@ -41,9 +41,8 @@ curl -L http://get.oh-my.fish | fish fish -c 'omf install bobthefish' # installing misc settings touch ~/.fish.local -mkdir -p ~/.config/fish/functions -ln -s ~/.dotfiles/fish/prompt_pwd.fish ~/.config/fish/functions +echo 'set -g theme_title_use_abbreviated_path no' > ~/.config/fish/config.fish if [ `hostname` != 'tuonela' ]; then - echo 'set -g theme_display_user yes' > ~/.config/fish/config.fish + echo 'set -g theme_display_user yes' >> ~/.config/fish/config.fish fi echo 'source ~/.fish.local' >> ~/.config/fish/config.fish