try to use configuration instead of removing

This commit is contained in:
Evgenii Alekseev 2016-02-22 20:26:06 +03:00
parent 2bd0bb8bfd
commit a8dffeb902
12 changed files with 35 additions and 9 deletions

3
links
View File

@ -1,4 +1,5 @@
.vimrc=vimrc .vimrc=vimrc
.zshrc=zshrc .zshrc=zshrc
.zsh=zsh-server .zsh=zsh
.zsh-plugins=zsh-plugins-server
.zlogout=zlogout .zlogout=zlogout

21
zsh-plugins Normal file
View File

@ -0,0 +1,21 @@
archive_functions
custom_rm
custom_su
filetypes_aliases
hash_common
hash_desktop
highlighting
pacman_common
pacman_test
pkgfile
prompt
prompt_server
sprunge
ssh-agent
sudo_aliases_common
sudo_aliases_pc
urltools
vimpager
websearch
xrandr_e530
xrandr_t440

9
zsh-plugins-server Normal file
View File

@ -0,0 +1,9 @@
archive_functions
custom_rm
highlighting
prompt_server
sprunge
sudo_aliases_common
urltools
vimpager
websearch

View File

@ -1 +0,0 @@
../zsh/archive_functions

View File

@ -1 +0,0 @@
../zsh/bin

View File

@ -1 +0,0 @@
../zsh/custom_rm

View File

@ -1 +0,0 @@
../zsh/highlighting

View File

@ -1 +0,0 @@
../zsh/sudo_aliases_common

View File

@ -1 +0,0 @@
../zsh/vimpager

View File

@ -1 +0,0 @@
../zsh/zsh-syntax-highlighting

4
zshrc
View File

@ -107,4 +107,6 @@ if [[ ${TERM} =~ "rxvt-unicode-*" ]] export TERM="xterm"
find "${HOME}/.ssh/conf.d" -type f -name '*.conf' -exec cat {} > "${HOME}/.ssh/config" \; 2> /dev/null find "${HOME}/.ssh/conf.d" -type f -name '*.conf' -exec cat {} > "${HOME}/.ssh/config" \; 2> /dev/null
# load custom settings from $HOME/.zsh # load custom settings from $HOME/.zsh
for _SCR in $(find "${HOME}/.zsh/" -type 'f' -or -type 'l' -maxdepth 1 2> /dev/null); do source "${_SCR}"; done if [[ -a ${HOME}/.zsh/zsh-plugins ]]; then
for _SRC in $(cat "${HOME}/.zsh-plugins"); do source "${HOME}/.zsh/${_SRC}"; done
fi