Bashrc: Remove unused functions
This commit is contained in:
parent
17232fd215
commit
ef64562fa9
9
.bashrc
9
.bashrc
@ -108,15 +108,6 @@ _git_top() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function up() {
|
|
||||||
num=1
|
|
||||||
if [ $# -gt 0 ]; then
|
|
||||||
num=$1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $(printf '../%.0s' $(seq 1 $num))
|
|
||||||
}
|
|
||||||
|
|
||||||
# Add color shortcuts
|
# Add color shortcuts
|
||||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||||
c_reset=`tput sgr0`
|
c_reset=`tput sgr0`
|
||||||
|
Loading…
Reference in New Issue
Block a user