From 688260bd74442ad04bf91460f497697e019d8d18 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 22 Jan 2018 18:46:19 +0100 Subject: [zsh] Add handy bindings --- bash/.bash_profile | 7 +++++++ bash/.bashrc | 9 --------- 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 bash/.bash_profile (limited to 'bash') diff --git a/bash/.bash_profile b/bash/.bash_profile new file mode 100644 index 0000000..d7297c5 --- /dev/null +++ b/bash/.bash_profile @@ -0,0 +1,7 @@ +# Prompt +if [[ -n $SSH_CLIENT ]]; then + PS1=$'\w \e[0;31m$\e[0m ' +else + PS1='\w $ ' +fi + diff --git a/bash/.bashrc b/bash/.bashrc index 0e8ede6..23b523d 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,11 +1,2 @@ -# Prompt - -if [[ -n $SSH_CLIENT ]]; then - PS1=$'\w\e[0;31m$ \e[0m' -else - PS1='\w $ ' -fi - - # FZF [ -f ~/.fzf.bash ] && source ~/.fzf.bash -- cgit v1.2.3