config/shell: Fix data dir detection
This commit is contained in:
parent
d8bbdd46c8
commit
6acfa9f8be
|
@ -10,6 +10,7 @@ alias info='info --vi-keys'
|
|||
alias editgrub='sudoedit /etc/default/grub && sudo update-grub'
|
||||
alias editenv='sudoedit /etc/environment'
|
||||
editright() {
|
||||
echo "Editing $1..."
|
||||
test -O "$1" && $EDITOR "$1" || sudoedit "$1"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export DATA="$(test -d $HOME/data && echo $HOME/data || $HOME/daten)"
|
||||
export DATA="$(test -d $HOME/data && echo $HOME/data || echo $HOME/daten)"
|
||||
export MUSIC="$DATA/music"
|
||||
export AUDIO="$DATA/audio"
|
||||
MUSIC_RAW="$AUDIO/songs/_raw"
|
||||
|
|
Loading…
Reference in New Issue