Merge branch 'master' of github.com:Xerus2000/dotfiles

This commit is contained in:
Xerus 2020-03-23 20:47:44 +01:00
commit 9a9ee4df31
4 changed files with 14 additions and 3 deletions

View File

@ -1,4 +1,4 @@
source ~/.lcaol/share/shell/functions source ~/.local/share/shell/functions
# ls aliases # ls aliases

View File

@ -1,12 +1,17 @@
# Shell configuration for Zsh, works almost completely for Bash as well # Shell configuration for Zsh, works almost completely for Bash as well
export LESS=-R export LESS=-R
export LC_MESSAGES=C export LC_MESSAGES=C
export DIST=$(lsb_release --id | cut -d' ' -f2) export DIST=$(lsb_release --id | cut -d' ' -f2)
#export PASSWORD_STORE_DIR=~/.local/share/pass
# Some aliases
alias println='printf "\n"' alias println='printf "\n"'
alias editgrub='sudo nvim /etc/default/grub && sudo update-grub' alias editgrub='sudoedit /etc/default/grub && sudo update-grub'
alias editenv='sudoedit /etc/environment'
alias startMinecraftServer='curl https://ipinfo.io/ip | xclip -sel clip && cd ~/daten/games/sharedgames/minecraft/server && java -jar forge-1.12.2-14.23.5.2768-universal.jar -mx 8G' alias startMinecraftServer='curl https://ipinfo.io/ip | xclip -sel clip && cd ~/daten/games/sharedgames/minecraft/server && java -jar forge-1.12.2-14.23.5.2768-universal.jar -mx 8G'
@ -335,7 +340,7 @@ if test "$BASH_VERSION"
then _clean_map=([m]=~/.mozilla [c]=~/.cache) then _clean_map=([m]=~/.mozilla [c]=~/.cache)
else _clean_map=(m ~/.mozilla c ~/.cache) else _clean_map=(m ~/.mozilla c ~/.cache)
fi fi
_clean_folders=(~/.oracle_jre_usage ~/.gradle-kotlin-dsl ~/.thumbnails ~/.zcompdump*) _clean_folders=(~/.oracle_jre_usage ~/.gradle-kotlin-dsl ~/.thumbnails $ZDOTDIR/.zcompdump*)
clean() { clean() {
for f in $_clean_folders for f in $_clean_folders

6
.xsessionrc Normal file
View File

@ -0,0 +1,6 @@
export XDG_DATA_DIRS="$HOME/.local/xdg:$XDG_DATA_DIRS"
export KDEHOME="$HOME/.local/share/kdehome"
export PASSWORD_STORE_DIR="$HOME/.local/share/pass"
export ZDOTDIR="$HOME/.config/zsh"
export _Z_DATA="$HOME/.config/zsh/z"
export EDITOR=/usr/bin/nvim