summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-01-22 18:46:19 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-01-22 18:57:22 +0100
commit688260bd74442ad04bf91460f497697e019d8d18 (patch)
treeebae0bc6df34b0ae7132abfd84da0e46d77c9cd8 /bash
parent2a0962d39f66aeff81d1ee41bde4c9d9d7706d08 (diff)
[zsh] Add handy bindings
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_profile7
-rw-r--r--bash/.bashrc9
2 files changed, 7 insertions, 9 deletions
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