config/shell: slight path adjustments
This commit is contained in:
parent
c3d5a36fea
commit
7a5df5ab73
|
@ -12,7 +12,7 @@ snapinstall() {
|
||||||
|
|
||||||
alias aptupdate='sudo apt-get update'
|
alias aptupdate='sudo apt-get update'
|
||||||
alias aptremove='sudo apt-get remove'
|
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'
|
alias aptclean='sudo apt-get clean && sudo apt-get autoremove'
|
||||||
upgrade() {
|
upgrade() {
|
||||||
if test -x /usr/bin/pkcon
|
if test -x /usr/bin/pkcon
|
||||||
|
|
|
@ -11,11 +11,13 @@ alias info='info --vi-keys'
|
||||||
|
|
||||||
xdh="$XDG_DATA_HOME"
|
xdh="$XDG_DATA_HOME"
|
||||||
xch="$XDG_CONFIG_HOME"
|
xch="$XDG_CONFIG_HOME"
|
||||||
da=$(cd $DATA/_* && pwd) 2>/dev/null
|
if test -d "$DATA"; then
|
||||||
d1=$(cd $DATA/1* && pwd)
|
da=$(cd $DATA/_* && pwd)
|
||||||
d2=$(cd $DATA/2* && pwd)
|
d1=$(cd $DATA/1* && pwd)
|
||||||
d3=$(cd $DATA/3* && pwd)
|
d2=$(cd $DATA/2* && pwd)
|
||||||
d4=$(cd $DATA/4* && pwd)
|
d3=$(cd $DATA/3* && pwd)
|
||||||
|
d4=$(cd $DATA/4* && pwd)
|
||||||
|
fi 2>/dev/null
|
||||||
|
|
||||||
ulimit -c unlimited # Enable core dumps
|
ulimit -c unlimited # Enable core dumps
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# The standard command I execute daily is "p status", it updates all projects and shows their status.
|
# The standard command I execute daily is "p status", it updates all projects and shows their status.
|
||||||
|
|
||||||
# Common root for all projects
|
# 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.
|
# 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
|
projects_subfolder_level=4
|
||||||
|
|
Loading…
Reference in New Issue