]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: micro refactoring - move some code below
authorOleg Broytman <phd@phdru.name>
Sun, 5 Jun 2016 20:56:29 +0000 (23:56 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 5 Jun 2016 20:56:29 +0000 (23:56 +0300)
.shellrc

index 76f81950b8375407bed0f521105612c16102653f..2527547c4d3e1a046134debc854c8d7e015d3adc 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -38,10 +38,6 @@ shopt -s checkwinsize
 #fi
 
 
-OPS1="$OPS1\\$"
-PS1="$OPS1 "
-
-
 case "$HOME" in
    /home/*)
       if [ -L /home ]; then
@@ -53,6 +49,11 @@ case "$HOME" in
    ;;
 esac
 
+
+OPS1="$OPS1\\$"
+PS1="$OPS1 "
+
+
 case "$SHELL" in
 */bash)
    [ "`type -t ls`" = alias ] && unalias ls