This commit is contained in:
Fabian 2021-12-08 13:57:13 +01:00
parent 20f2d4323d
commit 7c074dc817
2 changed files with 8 additions and 5 deletions

View File

@ -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

10
zshrc
View File

@ -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