updated starship config, zshrc and completion settings

This commit is contained in:
Nikolas Weger 2020-09-30 17:23:37 +02:00
parent 8cc540f67e
commit 927ae97e6e
3 changed files with 5 additions and 14 deletions

View file

@ -29,7 +29,7 @@ zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-dir
zstyle ':completion:*' use-cache yes zstyle ':completion:*' use-cache yes
zstyle ':completion:*' cache-path "$HOME/.cache/zsh/compcache/" zstyle ':completion:*' cache-path "$HOME/.cache/zsh/compcache/"
zstyle ':completion:*:*:*:users' ignored-patterns adm amanda apache at avahi avahi-autoipd backup beaglidx bin bitcoin bitwarden_rs cacti canna clamav ceph colord consul couchdb cups daemon dbus dhcp dhcpcd distcache dnsdist dnsmasq dovecot eeleater elasticsearch fax flatpak flaskdemo ftp games gdm geoclue git gitea gkrellmd gluster gopher gophernicus gnats hacluster haldaemon halt hsqldb http ident irc junkbust kdm kibana landscape ldap lightdm list lldpd logstash lp lxd mail mailman mailnull man mattermost messagebus mldonkey mongodb mxisd mysql nagios named netdata netdump news nfsnobody nm-openvpn nm-openconnect nobody nscd ntp nut nvidia-persistenced nweger nx obsrun openvpn operator pcap pcp polkitd pollinate postfix postgres powerdns privoxy proxy pulse prosody puppet pvm quagga radiusd radvd redis rpc rpcuser rpm rtkit root saned scard sddm shutdown smmsp squid sshd statd strongswan stunnel svn synapse sync sys syslog systemd-coredump systemd-journal-remote systemd-network systemd-resolve systemd-timesync tcpdump teamspeak tftp tinyproxy tor transmission tss turnserver usbmux unbound uucp uuidd vault vcsa webvirtmgr wildfly wwwrun www-data xfs xrdp youtrack zabbix-agent zabbix-server zabbix zerotier-one zerotier '_*' zstyle ':completion:*:*:*:users' ignored-patterns adm amanda apache at avahi avahi-autoipd backup beaglidx bin bitcoin bitwarden_rs cacti canna clamav ceph colord consul couchdb cups daemon dbus Debian-exim debian-tor dhcp dhcpcd distcache dnsdist dnsmasq dovecot eeleater elasticsearch epmd fax flatpak flaskdemo ftp games gdm geoclue git gitea gkrellmd gluster gopher gophernicus gnats hacluster haldaemon halt hsqldb http ident irc junkbust kdm kibana landscape ldap lightdm list lldpd logstash lp lxd mail mailman mailnull man mattermost messagebus mldonkey mongodb mxisd mysql nagios named netdata netdump news nfsnobody nm-openvpn nm-openconnect nobody nscd ntp nut nvidia-persistenced nweger nx obsrun openvpn operator pcap pcp polkitd pollinate postfix postgres powerdns privoxy proxy pulse prosody puppet pvm quagga radiusd radvd redis rpc rpcuser rpm rtkit root saned scard sddm shutdown smmsp squid sshd statd strongswan stunnel svn synapse sync sys syslog systemd-coredump systemd-journal-remote systemd-network systemd-resolve systemd-timesync tcpdump teamspeak test tftp tinyproxy tor transmission tss turnserver usbmux unbound uucp uuidd vault vcsa webvirtmgr wildfly wwwrun www-data xfs xrdp youtrack zabbix-agent zabbix-server zabbix zerotier-one zerotier '_*'
zstyle '*' single-ignored show zstyle '*' single-ignored show

View file

@ -1,6 +1,10 @@
export path=($path $HOME/.config/dotfiles/bin) export path=($path $HOME/.config/dotfiles/bin)
export fpath=($fpath $ZDOTDIR/plugins/completions/src $ZDOTDIR/local/fpath) export fpath=($fpath $ZDOTDIR/plugins/completions/src $ZDOTDIR/local/fpath)
# Theme
export STARSHIP_CONFIG=$ZDOTDIR/starship.toml
eval "$(starship init zsh)"
# Completions # Completions
mkdir -p $HOME/.cache/zsh mkdir -p $HOME/.cache/zsh
autoload -Uz compinit autoload -Uz compinit
@ -34,7 +38,3 @@ source $ZDOTDIR/plugins/syntax/zsh-syntax-highlighting.zsh
# Local RC # Local RC
[[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh" [[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh"
# Theme
export STARSHIP_CONFIG=$ZDOTDIR/starship.toml
eval "$(starship init zsh)"

View file

@ -3,14 +3,5 @@ add_newline = false
[time] [time]
disabled = false disabled = false
[git_branch]
disabled = true
[git_commit]
disabled = true
[git_state]
disabled = true
[git_status] [git_status]
disabled = true disabled = true