From a7ea8e32b8a41a9cbe685c49d7ff89962ce491db Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 5 Jun 2016 23:56:29 +0300 Subject: [PATCH] .shellrc: micro refactoring - move some code below --- .shellrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.shellrc b/.shellrc index 76f8195..2527547 100644 --- 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 -- 2.39.2