better cd

This commit is contained in:
Brad Ganley 2023-04-08 21:33:14 -05:00
parent 1ff4285cb5
commit 61de34fdb4
2 changed files with 7 additions and 0 deletions

1
.bashlocal Normal file
View File

@ -0,0 +1 @@
$DOCKER_COMPOSE_COMMAND="docker-compose"

View File

@ -3,7 +3,13 @@
########################################################## ##########################################################
alias sudo='sudo ' 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 # If not running interactively, don't do anything
case $- in case $- in
*i*) ;; *i*) ;;