better cd
This commit is contained in:
parent
1ff4285cb5
commit
61de34fdb4
1
.bashlocal
Normal file
1
.bashlocal
Normal file
@ -0,0 +1 @@
|
||||
$DOCKER_COMPOSE_COMMAND="docker-compose"
|
6
.bashrc
6
.bashrc
@ -3,7 +3,13 @@
|
||||
##########################################################
|
||||
alias sudo='sudo '
|
||||
|
||||
#what cd should do by default
|
||||
alias cd='cd_func'
|
||||
|
||||
cd_func ()
|
||||
{
|
||||
builtin cd "$@" && ls --color=auto --group-directories-first --format=single-column
|
||||
}
|
||||
# If not running interactively, don't do anything
|
||||
case $- in
|
||||
*i*) ;;
|
||||
|
Loading…
Reference in New Issue
Block a user