diff --git a/Makefile b/Makefile index 1354818..5c72bb3 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,6 @@ all: ~/.zshrc ~/.zsh_functions ~/.vimrc ~/.gitconfig ~/.globalgitignore ~/.globalgitignore: ln -sv ~/.dotfiles/globalgitignore ~/.globalgitignore + +grml-zsh: + wget -O ~/.zsh_grml https://git.grml.org/f/grml-etc-core/etc/zsh/zshrc diff --git a/zshrc b/zshrc index 4cd83f5..36d639b 100644 --- a/zshrc +++ b/zshrc @@ -1,9 +1,8 @@ -# source all other zsh files -if [ -f ~/.zsh_environment ] +if [ -f ~/.zsh_local ] then - source ~/.zsh_environment + source ~/.zsh_local fi -#for accounts whithout root +#for non Arch systems if [ -f ~/.zsh_grml ] then source ~/.zsh_grml @@ -11,6 +10,8 @@ fi source ~/.zsh_functions export EDITOR=vim export SYSTEMD_EDITOR=vim +export LESS=-R +export PATH=$PATH:~/bin:~/.local/bin alias clear-orphans='sudo pacman -Rns $(pacman -Qqdt)' alias mount-chroot='sudo mount /mnt/tmpfs; sudo mkdir /mnt/tmpfs/chroot' @@ -31,7 +32,6 @@ alias cmake='cmake -G Ninja' alias sysupgrade='sudo pacman -Syu; auracle sync' alias v='vim' alias ls='ls --color=auto' -export PATH=$PATH:~/bin:~/.local/bin if [ -f /usr/share/doc/pkgfile/command-not-found.zsh ] then