Merge branch 'master' of github.com:Faerbit/.dotfiles
This commit is contained in:
commit
a9910ed093
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
|||||||
all: symlinks setup-vim
|
all: symlinks
|
||||||
|
|
||||||
symlinks:
|
symlinks:
|
||||||
chmod +x make_symlinks.sh
|
chmod +x make_symlinks.sh
|
||||||
|
@ -5,3 +5,8 @@ test -f ../.zsh_functions || ln -sv .dotfiles/zsh_functions ../.zsh_functions
|
|||||||
test -f ../.vimrc || ln -sv .dotfiles/vimrc ../.vimrc
|
test -f ../.vimrc || ln -sv .dotfiles/vimrc ../.vimrc
|
||||||
test -f ../.gitconfig || ln -sv .dotfiles/gitconfig ../.gitconfig
|
test -f ../.gitconfig || ln -sv .dotfiles/gitconfig ../.gitconfig
|
||||||
test -f ../.globalgitignore || ln -sv .dotfiles/globalgitignore ../.globalgitignore
|
test -f ../.globalgitignore || ln -sv .dotfiles/globalgitignore ../.globalgitignore
|
||||||
|
if ! test -f ../.config/nvim/init.vim
|
||||||
|
then
|
||||||
|
mkdir -vp ../.config/nvim
|
||||||
|
ln -sv ~/.vimrc ../.config/nvim/init.vim
|
||||||
|
fi
|
||||||
|
@ -98,4 +98,12 @@ delete-old-archives() {
|
|||||||
sudo tarsnap -d -f "$archive"
|
sudo tarsnap -d -f "$archive"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
update-mirrors() {
|
||||||
|
if [[ $(uname -m) != "x86_64" ]]
|
||||||
|
then
|
||||||
|
echo "Not supported on this architecture."
|
||||||
|
else
|
||||||
|
sh -c "reflector -p http -l 50 --sort rate | tee /etc/pacman.d/mirrorlist"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
1
zshrc
1
zshrc
@ -20,7 +20,6 @@ alias sudo='sudo '
|
|||||||
alias tasks="ps -u fab"
|
alias tasks="ps -u fab"
|
||||||
alias update-grub="grub-mkconfig -o /boot/grub/grub.cfg"
|
alias update-grub="grub-mkconfig -o /boot/grub/grub.cfg"
|
||||||
alias sml2p='/home/fab/.Sync-my-L2P/Sync-my-L2P.run'
|
alias sml2p='/home/fab/.Sync-my-L2P/Sync-my-L2P.run'
|
||||||
alias update-mirrors='sh -c "reflector -p http -l 50 --sort rate | tee /etc/pacman.d/mirrorlist"'
|
|
||||||
alias ssh='ssh '
|
alias ssh='ssh '
|
||||||
alias ping='ping '
|
alias ping='ping '
|
||||||
alias aur-update='pacaur -Syu --devel --noconfirm'
|
alias aur-update='pacaur -Syu --devel --noconfirm'
|
||||||
|
Loading…
Reference in New Issue
Block a user