diff options
author | David Runge <dave@sleepmap.de> | 2017-03-29 12:19:47 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-03-29 12:19:47 +0200 |
commit | c6f775db8367d69f84435677d495d3f1eac2a13e (patch) | |
tree | 3631a3ce642e8a9204b04952ba9f6c4f49c24670 | |
parent | 76baf6127fb7172851b8bb6ebdf50c42988bf92a (diff) | |
parent | 3d701d70a7cd4c9af6fb5b8390fc6b2ca589670a (diff) | |
download | dotfiles-c6f775db8367d69f84435677d495d3f1eac2a13e.tar.gz dotfiles-c6f775db8367d69f84435677d495d3f1eac2a13e.tar.bz2 dotfiles-c6f775db8367d69f84435677d495d3f1eac2a13e.tar.xz dotfiles-c6f775db8367d69f84435677d495d3f1eac2a13e.zip |
Merge branch 'master' of sleepmap.de:config/dotfiles
* 'master' of sleepmap.de:config/dotfiles:
.config/user-dirs.dirs: Updating XDG folders to new cloud location.
.zlogout: Fixing broken statement, by doing binary comparison.
-rw-r--r-- | .config/user-dirs.dirs | 8 | ||||
-rw-r--r-- | .zlogout | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 35371ca..cabfc34 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -7,9 +7,9 @@ # XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOWNLOAD_DIR="$HOME/Downloads" -XDG_PUBLICSHARE_DIR="$HOME/ownCloud" -XDG_DOCUMENTS_DIR="$HOME/ownCloud/documents" +XDG_PUBLICSHARE_DIR="$HOME/cloud" +XDG_DOCUMENTS_DIR="$HOME/cloud/documents" XDG_MUSIC_DIR="$HOME/Music" -XDG_PICTURES_DIR="$HOME/ownCloud/photos" +XDG_PICTURES_DIR="$HOME/cloud/photos" XDG_VIDEOS_DIR="$HOME/Videos" -XDG_TEMPLATES_DIR="$HOME/ownCloud/Notes" +XDG_TEMPLATES_DIR="$HOME/cloud/Notes" @@ -1,6 +1,7 @@ # # Commands executed by zsh on logout. # -if [ $(id -u) == 0 ]; then + +if [ $(id -u) -eq 0 ]; then clear fi |