Updated zsh config, added xresources
Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
parent
49b2e2d658
commit
c0fc73b9fc
4 changed files with 22 additions and 11 deletions
2
.Xresources
Normal file
2
.Xresources
Normal file
|
@ -0,0 +1,2 @@
|
|||
XTerm*faceName: Hack
|
||||
XTerm*faceSize: 14
|
|
@ -2,5 +2,9 @@ alias ll='ls -la'
|
|||
alias lh='ls -lah'
|
||||
alias ...='cd ../..'
|
||||
alias cft='rm -r ~/.cache/thumbnails/fail/'
|
||||
alias find_renames='find /media/enbewe/smb/tvshows | grep -v -e "^/media/enbewe/smb/tvshows/[^/]\+/[0-9]\+x[0-9]\+" | grep -E "(mkv|avi)$"'
|
||||
alias startOVPN='sudo systemctl start openvpn@vpn_enbewe_de.service'
|
||||
alias stopOVPN='sudo systemctl stop openvpn@vpn_enbewe_de.service'
|
||||
alias genPDF='for i in *.svg; do inkscape -A ${i%.svg}.new.pdf $i; done'
|
||||
alias cleanPDF='for i in *.new.pdf; do gs -o ${i%.new.pdf}.pdf -sDEVICE=pdfwrite -dColorConversionStrategy=/sRGB -dProcessColorModel=/DeviceRGB $i; rm $i; done'
|
||||
|
||||
eval $(thefuck --alias)
|
||||
|
|
|
@ -34,13 +34,13 @@ cdpath=(.)
|
|||
|
||||
# use /etc/hosts and known_hosts for hostname completion
|
||||
[ -r /etc/ssh/ssh_known_hosts ] && _global_ssh_hosts=(${${${${(f)"$(</etc/ssh/ssh_known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=()
|
||||
[ -r ~/.ssh/known_hosts ] && _ssh_hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=()
|
||||
# [ -r ~/.ssh/known_hosts ] && _ssh_hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=()
|
||||
[ -r /etc/hosts ] && : ${(A)_etc_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}} || _etc_hosts=()
|
||||
[ -r ~/.ssh/config ] && _ssh_config=($(cat ~/.ssh/config | sed -ne 's/Host[=\t ]//p')) || _ssh_config=()
|
||||
hosts=(
|
||||
"$_global_ssh_hosts[@]"
|
||||
"$_ssh_hosts[@]"
|
||||
"$_etc_hosts[@]"
|
||||
# "$_ssh_hosts[@]"
|
||||
# "$_etc_hosts[@]"
|
||||
"$_ssh_config[@]"
|
||||
"$HOST"
|
||||
localhost
|
||||
|
@ -53,13 +53,17 @@ zstyle ':completion::complete:*' cache-path ~/.zsh/cache/
|
|||
|
||||
# Don't complete uninteresting users
|
||||
zstyle ':completion:*:*:*:users' ignored-patterns \
|
||||
adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
|
||||
dbus distcache dovecot fax ftp games gdm gkrellmd gopher \
|
||||
hacluster haldaemon halt hsqldb ident junkbust ldap lp mail \
|
||||
mailman mailnull mldonkey mysql nagios \
|
||||
named netdump news nfsnobody nobody nscd ntp nut nx openvpn \
|
||||
operator pcap postfix postgres privoxy pulse pvm quagga radvd \
|
||||
rpc rpcuser rpm shutdown squid sshd sync uucp vcsa xfs
|
||||
_apt adm amanda apache avahi avahi-autoipd backup beaglidx bin \
|
||||
cacti canna clamav colord daemon dbus distcache dnsmasq dovecot \
|
||||
fax ftp games gdm gkrellmd gnats gopher hacluster haldaemon halt \
|
||||
hplip hsqldb ident iodine irc junkbust kernoops ldap lightdm \
|
||||
list lp mail mailman mailnull man messagebus mldonkey mysql \
|
||||
nagios named netdump news nfsnobody nm-iodine nm-openconnect \
|
||||
nm-openvpn nobody nscd ntp nut nx openvpn operator pcap postfix \
|
||||
postgres privoxy proxy pulse pvm quagga radvd rpc rpcuser rpm \
|
||||
rtkit saned shutdown speech-dispatcher squid sshd statd sync sys \
|
||||
syslog systemd-bus-proxy systemd-network systemd-resolve \
|
||||
systemd-timesync usbmux uucp uuidd vcsa whoopsie www-data xfs
|
||||
|
||||
# ... unless we really want to.
|
||||
zstyle '*' single-ignored show
|
||||
|
|
1
.zsh/lib/xenvironment.zsh
Normal file
1
.zsh/lib/xenvironment.zsh
Normal file
|
@ -0,0 +1 @@
|
|||
export XENVIRONMENT="${HOME}/.Xresources"
|
Loading…
Reference in a new issue