diff --git a/.config/shell/debian b/.config/shell/debian index 8cfe8ad..0a93585 100644 --- a/.config/shell/debian +++ b/.config/shell/debian @@ -12,7 +12,7 @@ snapinstall() { alias aptupdate='sudo apt-get update' alias aptremove='sudo apt-get remove' -alias aptpurge='sudo apt-get purge' +alias aptpurge='sudo apt-get purge --autoremove' alias aptclean='sudo apt-get clean && sudo apt-get autoremove' upgrade() { if test -x /usr/bin/pkcon diff --git a/.config/shell/functions b/.config/shell/functions index f6d2427..f2b9d9c 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -11,11 +11,13 @@ alias info='info --vi-keys' xdh="$XDG_DATA_HOME" xch="$XDG_CONFIG_HOME" -da=$(cd $DATA/_* && pwd) 2>/dev/null -d1=$(cd $DATA/1* && pwd) -d2=$(cd $DATA/2* && pwd) -d3=$(cd $DATA/3* && pwd) -d4=$(cd $DATA/4* && pwd) +if test -d "$DATA"; then + da=$(cd $DATA/_* && pwd) + d1=$(cd $DATA/1* && pwd) + d2=$(cd $DATA/2* && pwd) + d3=$(cd $DATA/3* && pwd) + d4=$(cd $DATA/4* && pwd) +fi 2>/dev/null ulimit -c unlimited # Enable core dumps diff --git a/.config/shell/projects b/.config/shell/projects index 442b3d4..42fd8b3 100644 --- a/.config/shell/projects +++ b/.config/shell/projects @@ -4,7 +4,7 @@ # The standard command I execute daily is "p status", it updates all projects and shows their status. # Common root for all projects -projects_dir=${projects_dir:-$DATA/projects} +projects_dir=${projects_dir:-$DATA/4-incubator/programming} # The max depth to search for when listing projects. The actual depth is this value minus one, since it searches for ".git" folders at that depth. projects_subfolder_level=4