summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-07 04:35:11 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-07 04:35:11 -0700
commitfd9c821fae55fadda3c2898e53698ba46e4623ba (patch)
treea6f44f34bb8093f7a0f02e4fff372c547de3b631 /.config
parentca722cf16c6cfde2c9b9d3ed30aae10598e38f20 (diff)
Various QoL changes
Diffstat (limited to '.config')
-rw-r--r--.config/aliasrc6
-rw-r--r--.config/i3/config9
-rw-r--r--.config/i3blocks/config8
-rw-r--r--.config/nvim/init.vim22
-rw-r--r--.config/zsh/.zcompdump322
-rw-r--r--.config/zsh/.zshrc2
6 files changed, 196 insertions, 173 deletions
diff --git a/.config/aliasrc b/.config/aliasrc
index e1166a6..8dd35d0 100644
--- a/.config/aliasrc
+++ b/.config/aliasrc
@@ -5,10 +5,14 @@
# Use neovim for vim if present.
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d"
+# Use color when available.
# Better ls with exa.
alias ls="exa -aH --color=automatic --group-directories-first --git"
alias ll="ls -l"
alias lt="ls -TL 6"
+alias grep="grep --color=auto"
+alias diff="diff --color=auto"
+
# TexLive Manager fix as described in https://wiki.archlinux.org/index.php/TeX_Live
-alias tlmgr='$TEXMFDIST/scripts/texlive/tlmgr.pl --usermode'
+alias tlmgr="$TEXMFDIST/scripts/texlive/tlmgr.pl --usermode"
diff --git a/.config/i3/config b/.config/i3/config
index adacfc4..d0d6fcc 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -78,14 +78,14 @@ font pango:monospace 10
assign [class="vlc"] $ws5
# WS6
# The title regex is a negative lookahead.
- assign [class="Google-chrome" title="^(?!Save File).*$"] $ws6
+ assign [class="Google-chrome" title="^(?!Save File).*$" title="^(?!GtkFileChooserDialog).*$"] $ws6
# WS7
assign [class="TelegramDesktop"] $ws7
# WS8
# WS9
assign [class="discord"] $ws9
- assign [class="Steam"] $ws9
- assign [title="steam"] $ws9
+ # assign [class="Discord" window_role="GtkFileChooserDialog"] $ws9
+ assign [class="Steam" title="steam"] $ws9
# WS10
for_window [class="Spotify"] move to workspace $ws10
## Window properties for windows.
@@ -93,11 +93,12 @@ font pango:monospace 10
for_window [class="mogli"] floating enable
# for_window [title="Picture in picture"] resize set 640 360 px, move position 1270 30, move to output $mon1
for_window [class="Google-chrome" instance="crx_kmfikkopdhmbdbkndkamabamlkkgkpod"] floating enable, resize set 640 360, move position 1270 30, move to output $mon1
- # for_window [class="discord" window_role="browser-window"] floating enable
+
# Steam specific.
for_window [class="Steam" title="Steam Guard"] floating enable
for_window [class="Steam" title="Steam - News"] floating enable
for_window [class="Steam" title="Friends List"] floating enable
+ for_window [title="/^Steam$/"] move to workspace $ws9
##---i3 color scheme---##
# Class bor bgt txt ind chb
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
index 841918e..4d5029f 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -42,12 +42,12 @@ signal=1
## Exposed format variables: ${SYMB}, ${VOL}, ${INDEX}, ${NAME}
# LONG_FORMAT="${SYMB} ${VOL}% [${INDEX}:${NAME}]"
# SHORT_FORMAT="${SYMB} ${VOL}% [${INDEX}]"
-AUDIO_HIGH_SYMBOL= 
+AUDIO_HIGH_SYMBOL=
AUDIO_MED_THRESH=60
-AUDIO_MED_SYMBOL= 
+AUDIO_MED_SYMBOL=
AUDIO_LOW_THRESH=10
-AUDIO_LOW_SYMBOL= 
-AUDIO_MUTED_SYMBOL= 
+AUDIO_LOW_SYMBOL=
+AUDIO_MUTED_SYMBOL=
# AUDIO_DELTA=5
# DEFAULT_COLOR="#ffffff"
# MUTED_COLOR="#a0a0a0"
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 6c86676..dbbc878 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -38,7 +38,7 @@ set showcmd
Plug 'mhinz/vim-signify'
set updatetime=100
- " Auto completion
+ "Auto completion
Plug 'Valloric/YouCompleteMe'
let g:ycm_autoclose_preview_window_after_completion=1
@@ -158,6 +158,11 @@ set showcmd
" Toggle relative line number
nmap <F2> :set number invrelativenumber<CR>
+ " Buffers
+ nnoremap gb :ls<CR>:buffer<Space>
+ nmap <Leader>a :badd<Space>
+ nmap <Leader>l :ls<CR>
+
" Split navigation
nmap <C-h> <C-w>h
nmap <C-j> <C-w>j
@@ -168,6 +173,10 @@ set showcmd
nnoremap <C-up> :resize -5<cr>
nnoremap <C-right> :vertical resize +5<cr>
+ " Tab manipulation
+ nmap <Leader>t :tabe<CR>
+ nmap <Leader>y :tabclose<CR>
+
" Enable folding with the spacebar
nnoremap <Space> za
@@ -177,10 +186,13 @@ set showcmd
" List chars
nmap <Leader>c :call ToggleListChars()<CR>
- " Buffers.
- nnoremap gb :ls<CR>:buffer<Space>
- nmap <Leader>a :badd<Space>
- nmap <Leader>l :ls<CR>
+ " Custom auto completion
+ " inoremap {<CR> {<CR>}<ESC>kA<CR>
+ " inoremap { {}<ESC>i
+ " inoremap ( ()<ESC>i
+ " inoremap [ []<ESC>i
+ " inoremap ' ''<ESC>i
+ " inoremap " ""<ESC>i
""---Plugin keybindings---""
" Toggle NERDTree
diff --git a/.config/zsh/.zcompdump b/.config/zsh/.zcompdump
index 92ba1d9..63f2672 100644
--- a/.config/zsh/.zcompdump
+++ b/.config/zsh/.zcompdump
@@ -1,4 +1,4 @@
-#files: 782 version: 5.8
+#files: 786 version: 5.8
_comps=(
'-' '_precommand'
@@ -52,6 +52,7 @@ _comps=(
'appletviewer' '_java'
'apropos' '_man'
'apvlv' '_pdf'
+'arch-chroot' '_archinstallscripts'
'arecord' '_alsa-utils'
'arena' '_webbrowser'
'arp' '_arp'
@@ -109,6 +110,7 @@ _comps=(
'btdownloadheadless' '_bittorrent'
'btlaunchmany' '_bittorrent'
'btlaunchmanycurses' '_bittorrent'
+'btm' '_btm'
'btmakemetafile' '_bittorrent'
'btreannounce' '_bittorrent'
'btrename' '_bittorrent'
@@ -391,6 +393,7 @@ _comps=(
'geany' '_geany'
'gegrep' '_grep'
'gem' '_gem'
+'genfstab' '_archinstallscripts'
'genisoimage' '_genisoimage'
'genv' '_env'
'get' '_sccs'
@@ -861,6 +864,7 @@ _comps=(
'pacman-key' '_pacman'
'pacman.static' '_pacman'
'pacmd' '_pulseaudio'
+'pacstrap' '_archinstallscripts'
'pactl' '_pulseaudio'
'padsp' '_pulseaudio'
'pandoc' '_pandoc'
@@ -918,6 +922,7 @@ _comps=(
'pkginfo' '_pkginfo'
'pkgrm' '_pkgrm'
'pkill' '_pgrep'
+'playerctl' '_playerctl'
'pldd' '_pids'
'pmake' '_make'
'pman' '_perl_modules'
@@ -1185,6 +1190,7 @@ _comps=(
'systemd-machine-id-setup' '_systemd'
'systemd-notify' '_systemd'
'systemd-nspawn' '_systemd-nspawn'
+'systemd-path' '_systemd-path'
'systemd-resolve' '_resolvectl'
'systemd-run' '_systemd-run'
'systemd-tmpfiles' '_systemd-tmpfiles'
@@ -1619,163 +1625,163 @@ bindkey '^[,' _history-complete-newer
bindkey '^[/' _history-complete-older
bindkey '^[~' _bash_complete-word
-autoload -Uz _alacritty _bootctl _busctl _cargo _coredumpctl \
- _curl _exa _hostnamectl _journalctl _jupyter \
- _kernel-install _libinput _localectl _loginctl _machinectl \
- _mkinitcpio _networkctl _ninja _pacman _pulseaudio \
- _resolvectl _sd_hosts_or_user_at_host _sd_machines _sd_outputmodes _sd_unit_files \
- _systemctl _systemd _systemd-analyze _systemd-delta _systemd-inhibit \
- _systemd-nspawn _systemd-run _systemd-tmpfiles _timedatectl _udevadm \
- _udiskie _udiskie-mount _udiskie-umount _yay _youtube-dl \
- _zathura _cdr _all_labels _all_matches _alternative \
- _approximate _arg_compile _arguments _bash_completions _cache_invalid \
- _call_function _combination _complete _complete_debug _complete_help \
- _complete_help_generic _complete_tag _comp_locale _correct _correct_filename \
- _correct_word _describe _description _dispatch _expand \
- _expand_alias _expand_word _extensions _external_pwds _generic \
- _guard _history _history_complete_word _ignored _list \
- _main_complete _match _menu _message _most_recent_file \
- _multi_parts _next_label _next_tags _normal _nothing \
- _oldlist _pick_variant _prefix _read_comp _regex_arguments \
- _regex_words _requested _retrieve_cache _sep_parts _sequence \
- _set_command _setup _store_cache _sub_commands _tags \
- _user_expand _values _wanted _acpi _acpitool \
- _alsa-utils _analyseplugin _brctl _btrfs _chattr \
- _chcon _chrt _cpupower _cryptsetup _dkms \
- _e2label _ethtool _findmnt _free _fuse_arguments \
- _fusermount _fuse_values _gpasswd _htop _iconvconfig \
- _ionice _ipset _iptables _iwconfig _kpartx \
- _losetup _lsattr _lsblk _lsusb _ltrace \
- _mdadm _mii-tool _modutils _mondo _networkmanager \
- _opkg _pidof _pmap _qdbus _schedtool \
- _selinux_contexts _selinux_roles _selinux_types _selinux_users _setsid \
- _slabtop _ss _sshfs _strace _sysstat \
- _tload _tpb _tracepath _tune2fs _uml \
- _valgrind _vserver _wakeup_capable_devices _wipefs _wpa_cli \
- _a2ps _aap _abcde _absolute_command_paths _ack \
- _adb _ansible _ant _antiword _apachectl \
- _apm _arch_archives _arch_namespace _arp _arping \
- _asciidoctor _asciinema _at _attr _augeas \
- _avahi _awk _base64 _basename _bash \
- _baudrates _baz _beep _bibtex _bind_addresses \
- _bison _bittorrent _bogofilter _bpf_filters _bpython \
- _bzip2 _bzr _cabal _cal _calendar \
- _canonical_paths _cat _ccal _cdcd _cdrdao \
- _cdrecord _chkconfig _chmod _chown _chroot \
- _chsh _cksum _clay _cmdambivalent _cmdstring \
- _cmp _column _comm _composer _compress \
- _configure _cowsay _cp _cpio _cplay \
- _crontab _cscope _cssh _ctags_tags _curl \
- _cut _cvs _darcs _date _date_formats \
- _dates _dbus _dconf _dd _devtodo \
- _df _dhclient _dict _dict_words _diff \
- _diff3 _diff_options _diffstat _dig _directories \
- _dir_list _django _dmesg _dmidecode _dns_types \
- _doas _domains _dos2unix _drill _dsh \
- _dtruss _du _dvi _ecasound _ed \
- _elfdump _elinks _email_addresses _enscript _entr \
- _env _espeak _etags _fakeroot _feh \
- _fetchmail _ffmpeg _figlet _file_modes _files \
- _file_systems _find _find_net_interfaces _finger _flac \
- _flex _fmt _fold _fortune _fsh \
- _fuser _gcc _gcore _gdb _gem \
- _genisoimage _getconf _getent _getfacl _getmail \
- _getopt _ghostscript _git _global _global_tags \
- _gnu_generic _gnupod _gnutls _go _gpg \
- _gphoto2 _gprof _gradle _graphicsmagick _grep \
- _groff _groups _growisofs _gsettings _guilt \
- _gzip _have_glob_qual _head _hexdump _host \
- _hostname _hosts _iconv _id _ifconfig \
- _iftop _imagemagick _initctl _init_d _install \
- _iostat _ip _ipsec _irssi _ispell \
- _java _java_class _joe _join _jq \
- _killall _knock _kvno _last _ldconfig \
- _ldd _ld_debug _less _lha _libvirt \
- _links _list_files _lldb _ln _loadkeys \
- _locale _localedef _locales _locate _look \
- _lp _ls _lsof _lua _luarocks \
- _lynx _lz4 _lzop _mail _mailboxes \
- _make _man _md5sum _mencal _mh \
- _mime_types _mkdir _mkfifo _mknod _mktemp \
- _module _monotone _moosic _mosh _mount \
- _mpc _mt _mtools _mtr _mutt \
- _mv _my_accounts _myrepos _mysqldiff _mysql_utils \
- _ncftp _netcat _net_interfaces _netstat _newsgroups \
- _nginx _ngrep _nice _nkf _nl \
- _nm _nmap _npm _nslookup _numfmt \
- _objdump _object_files _od _openstack _other_accounts \
- _pack _pandoc _paste _patch _patchutils \
- _path_commands _path_files _pax _pbm _pdf \
- _perforce _perl _perl_basepods _perldoc _perl_modules \
- _pgrep _php _picocom _pids _pine \
- _ping _pkgadd _pkg-config _pkginfo _pkg_instance \
- _pkgrm _pon _ports _postfix _postgresql \
- _postscript _printenv _printers _process_names _prove \
- _ps _pspdf _psutils _pump _pv \
- _pwgen _pydoc _python _python_modules _qemu \
- _quilt _rake _ranlib _rar _rclone \
- _rcs _readelf _readlink _remote_files _renice \
- _ri _rlogin _rm _rmdir _route \
- _rrdtool _rsync _rubber _ruby _runit \
- _samba _sccs _scons _screen _script \
- _seafile _sed _seq _service _services \
- _setfacl _sh _shasum _showmount _shred \
- _shuf _shutdown _signals _sisu _slrn \
- _smartmontools _socket _sort _spamassassin _split \
- _sqlite _sqsh _ssh _ssh_hosts _stat \
- _stdbuf _stgit _stow _strings _strip \
- _stty _su _subversion _sudo _surfraw \
- _swaks _swanctl _swift _sys_calls _sysctl \
- _tac _tail _tar _tar_archive _tardy \
- _tcpdump _tcptraceroute _tee _telnet _terminals \
- _tex _texi _texinfo _tidy _tiff \
- _tilde_files _timeout _time_zone _tin _tla \
- _tmux _todo.sh _toilet _top _topgit \
- _totd _touch _tput _tr _transmission \
- _tree _truss _tty _ttys _twidge \
- _twisted _umountable _unace _uname _unexpand \
- _uniq _unison _units _uptime _urls \
- _user_admin _user_at_host _users _users_on _vcsh \
- _vim _visudo _vmstat _vorbis _vpnc \
- _w _w3m _watch _wc _webbrowser \
- _wget _whereis _who _whois _wiggle \
- _xargs _xmlsoft _xmlstarlet _xmms2 _xxd \
- _xz _yafc _yodl _yp _zcat \
- _zdump _zfs _zfs_dataset _zfs_keysource_props _zfs_pool \
- _zip _zpool _zsh _acroread _code \
- _dcop _eog _evince _geany _gnome-gv \
- _gqview _gv _kdeconnect _kfmclient _matlab \
- _mozilla _mplayer _mupdf _nautilus _nedit \
- _netscape _okular _pdftk _qiv _rdesktop \
- _setxkbmap _sublimetext _urxvt _vnc _x_arguments \
- _xauth _xautolock _x_borderwidth _xclip _x_color \
- _x_colormapid _x_cursor _x_display _xdvi _x_extension \
- _xfig _x_font _xft_fonts _x_geometry _x_keysym \
- _xloadimage _x_locale _x_modifier _xmodmap _x_name \
- _xournal _xpdf _xrandr _x_resource _xscreensaver \
- _x_selection_timeout _xset _xt_arguments _xterm _x_title \
- _xt_session_id _x_utils _xv _x_visual _x_window \
- _xwit _zeal _add-zle-hook-widget _add-zsh-hook _alias \
- _aliases _arrays _assign _autocd _bindkey \
- _brace_parameter _builtin _cd _command _command_names \
- _compadd _compdef _completers _condition _default \
- _delimiters _directory_stack _dirs _disable _dynamic_directory_name \
- _echotc _echoti _emulate _enable _equal \
- _exec _fc _file_descriptors _first _functions \
- _globflags _globqual_delims _globquals _hash _history_modifiers \
- _in_vared _jobs _jobs_bg _jobs_builtin _jobs_fg \
- _kill _limit _limits _math _math_params \
- _mere _module_math_func _options _options_set _options_unset \
- _parameter _parameters _precommand _print _prompt \
- _ps1234 _read _redirect _run-help _sched \
- _set _setopt _source _strftime _subscript \
- _suffix_alias_files _tcpsys _tilde _trap _ttyctl \
- _typeset _ulimit _unhash _user_math_func _value \
- _vared _vars _wait _which _widgets \
- _zargs _zattr _zcalc _zcalc_line _zcompile \
- _zed _zftp _zle _zmodload _zmv \
- _zparseopts _zpty _zsh-mime-handler _zsocket _zstyle \
- _ztodo
+autoload -Uz _alacritty _archinstallscripts _bootctl _btm _busctl \
+ _cargo _coredumpctl _curl _exa _hostnamectl \
+ _journalctl _jupyter _kernel-install _libinput _localectl \
+ _loginctl _machinectl _mkinitcpio _networkctl _ninja \
+ _pacman _playerctl _pulseaudio _resolvectl _sd_hosts_or_user_at_host \
+ _sd_machines _sd_outputmodes _sd_unit_files _systemctl _systemd \
+ _systemd-analyze _systemd-delta _systemd-inhibit _systemd-nspawn _systemd-path \
+ _systemd-run _systemd-tmpfiles _timedatectl _udevadm _udiskie \
+ _udiskie-mount _udiskie-umount _yay _youtube-dl _zathura \
+ _cdr _all_labels _all_matches _alternative _approximate \
+ _arg_compile _arguments _bash_completions _cache_invalid _call_function \
+ _combination _complete _complete_debug _complete_help _complete_help_generic \
+ _complete_tag _comp_locale _correct _correct_filename _correct_word \
+ _describe _description _dispatch _expand _expand_alias \
+ _expand_word _extensions _external_pwds _generic _guard \
+ _history _history_complete_word _ignored _list _main_complete \
+ _match _menu _message _most_recent_file _multi_parts \
+ _next_label _next_tags _normal _nothing _oldlist \
+ _pick_variant _prefix _read_comp _regex_arguments _regex_words \
+ _requested _retrieve_cache _sep_parts _sequence _set_command \
+ _setup _store_cache _sub_commands _tags _user_expand \
+ _values _wanted _acpi _acpitool _alsa-utils \
+ _analyseplugin _brctl _btrfs _chattr _chcon \
+ _chrt _cpupower _cryptsetup _dkms _e2label \
+ _ethtool _findmnt _free _fuse_arguments _fusermount \
+ _fuse_values _gpasswd _htop _iconvconfig _ionice \
+ _ipset _iptables _iwconfig _kpartx _losetup \
+ _lsattr _lsblk _lsusb _ltrace _mdadm \
+ _mii-tool _modutils _mondo _networkmanager _opkg \
+ _pidof _pmap _qdbus _schedtool _selinux_contexts \
+ _selinux_roles _selinux_types _selinux_users _setsid _slabtop \
+ _ss _sshfs _strace _sysstat _tload \
+ _tpb _tracepath _tune2fs _uml _valgrind \
+ _vserver _wakeup_capable_devices _wipefs _wpa_cli _a2ps \
+ _aap _abcde _absolute_command_paths _ack _adb \
+ _ansible _ant _antiword _apachectl _apm \
+ _arch_archives _arch_namespace _arp _arping _asciidoctor \
+ _asciinema _at _attr _augeas _avahi \
+ _awk _base64 _basename _bash _baudrates \
+ _baz _beep _bibtex _bind_addresses _bison \
+ _bittorrent _bogofilter _bpf_filters _bpython _bzip2 \
+ _bzr _cabal _cal _calendar _canonical_paths \
+ _cat _ccal _cdcd _cdrdao _cdrecord \
+ _chkconfig _chmod _chown _chroot _chsh \
+ _cksum _clay _cmdambivalent _cmdstring _cmp \
+ _column _comm _composer _compress _configure \
+ _cowsay _cp _cpio _cplay _crontab \
+ _cscope _cssh _ctags_tags _curl _cut \
+ _cvs _darcs _date _date_formats _dates \
+ _dbus _dconf _dd _devtodo _df \
+ _dhclient _dict _dict_words _diff _diff3 \
+ _diff_options _diffstat _dig _directories _dir_list \
+ _django _dmesg _dmidecode _dns_types _doas \
+ _domains _dos2unix _drill _dsh _dtruss \
+ _du _dvi _ecasound _ed _elfdump \
+ _elinks _email_addresses _enscript _entr _env \
+ _espeak _etags _fakeroot _feh _fetchmail \
+ _ffmpeg _figlet _file_modes _files _file_systems \
+ _find _find_net_interfaces _finger _flac _flex \
+ _fmt _fold _fortune _fsh _fuser \
+ _gcc _gcore _gdb _gem _genisoimage \
+ _getconf _getent _getfacl _getmail _getopt \
+ _ghostscript _git _global _global_tags _gnu_generic \
+ _gnupod _gnutls _go _gpg _gphoto2 \
+ _gprof _gradle _graphicsmagick _grep _groff \
+ _groups _growisofs _gsettings _guilt _gzip \
+ _have_glob_qual _head _hexdump _host _hostname \
+ _hosts _iconv _id _ifconfig _iftop \
+ _imagemagick _initctl _init_d _install _iostat \
+ _ip _ipsec _irssi _ispell _java \
+ _java_class _joe _join _jq _killall \
+ _knock _kvno _last _ldconfig _ldd \
+ _ld_debug _less _lha _libvirt _links \
+ _list_files _lldb _ln _loadkeys _locale \
+ _localedef _locales _locate _look _lp \
+ _ls _lsof _lua _luarocks _lynx \
+ _lz4 _lzop _mail _mailboxes _make \
+ _man _md5sum _mencal _mh _mime_types \
+ _mkdir _mkfifo _mknod _mktemp _module \
+ _monotone _moosic _mosh _mount _mpc \
+ _mt _mtools _mtr _mutt _mv \
+ _my_accounts _myrepos _mysqldiff _mysql_utils _ncftp \
+ _netcat _net_interfaces _netstat _newsgroups _nginx \
+ _ngrep _nice _nkf _nl _nm \
+ _nmap _npm _nslookup _numfmt _objdump \
+ _object_files _od _openstack _other_accounts _pack \
+ _pandoc _paste _patch _patchutils _path_commands \
+ _path_files _pax _pbm _pdf _perforce \
+ _perl _perl_basepods _perldoc _perl_modules _pgrep \
+ _php _picocom _pids _pine _ping \
+ _pkgadd _pkg-config _pkginfo _pkg_instance _pkgrm \
+ _pon _ports _postfix _postgresql _postscript \
+ _printenv _printers _process_names _prove _ps \
+ _pspdf _psutils _pump _pv _pwgen \
+ _pydoc _python _python_modules _qemu _quilt \
+ _rake _ranlib _rar _rclone _rcs \
+ _readelf _readlink _remote_files _renice _ri \
+ _rlogin _rm _rmdir _route _rrdtool \
+ _rsync _rubber _ruby _runit _samba \
+ _sccs _scons _screen _script _seafile \
+ _sed _seq _service _services _setfacl \
+ _sh _shasum _showmount _shred _shuf \
+ _shutdown _signals _sisu _slrn _smartmontools \
+ _socket _sort _spamassassin _split _sqlite \
+ _sqsh _ssh _ssh_hosts _stat _stdbuf \
+ _stgit _stow _strings _strip _stty \
+ _su _subversion _sudo _surfraw _swaks \
+ _swanctl _swift _sys_calls _sysctl _tac \
+ _tail _tar _tar_archive _tardy _tcpdump \
+ _tcptraceroute _tee _telnet _terminals _tex \
+ _texi _texinfo _tidy _tiff _tilde_files \
+ _timeout _time_zone _tin _tla _tmux \
+ _todo.sh _toilet _top _topgit _totd \
+ _touch _tput _tr _transmission _tree \
+ _truss _tty _ttys _twidge _twisted \
+ _umountable _unace _uname _unexpand _uniq \
+ _unison _units _uptime _urls _user_admin \
+ _user_at_host _users _users_on _vcsh _vim \
+ _visudo _vmstat _vorbis _vpnc _w \
+ _w3m _watch _wc _webbrowser _wget \
+ _whereis _who _whois _wiggle _xargs \
+ _xmlsoft _xmlstarlet _xmms2 _xxd _xz \
+ _yafc _yodl _yp _zcat _zdump \
+ _zfs _zfs_dataset _zfs_keysource_props _zfs_pool _zip \
+ _zpool _zsh _acroread _code _dcop \
+ _eog _evince _geany _gnome-gv _gqview \
+ _gv _kdeconnect _kfmclient _matlab _mozilla \
+ _mplayer _mupdf _nautilus _nedit _netscape \
+ _okular _pdftk _qiv _rdesktop _setxkbmap \
+ _sublimetext _urxvt _vnc _x_arguments _xauth \
+ _xautolock _x_borderwidth _xclip _x_color _x_colormapid \
+ _x_cursor _x_display _xdvi _x_extension _xfig \
+ _x_font _xft_fonts _x_geometry _x_keysym _xloadimage \
+ _x_locale _x_modifier _xmodmap _x_name _xournal \
+ _xpdf _xrandr _x_resource _xscreensaver _x_selection_timeout \
+ _xset _xt_arguments _xterm _x_title _xt_session_id \
+ _x_utils _xv _x_visual _x_window _xwit \
+ _zeal _add-zle-hook-widget _add-zsh-hook _alias _aliases \
+ _arrays _assign _autocd _bindkey _brace_parameter \
+ _builtin _cd _command _command_names _compadd \
+ _compdef _completers _condition _default _delimiters \
+ _directory_stack _dirs _disable _dynamic_directory_name _echotc \
+ _echoti _emulate _enable _equal _exec \
+ _fc _file_descriptors _first _functions _globflags \
+ _globqual_delims _globquals _hash _history_modifiers _in_vared \
+ _jobs _jobs_bg _jobs_builtin _jobs_fg _kill \
+ _limit _limits _math _math_params _mere \
+ _module_math_func _options _options_set _options_unset _parameter \
+ _parameters _precommand _print _prompt _ps1234 \
+ _read _redirect _run-help _sched _set \
+ _setopt _source _strftime _subscript _suffix_alias_files \
+ _tcpsys _tilde _trap _ttyctl _typeset \
+ _ulimit _unhash _user_math_func _value _vared \
+ _vars _wait _which _widgets _zargs \
+ _zattr _zcalc _zcalc_line _zcompile _zed \
+ _zftp _zle _zmodload _zmv _zparseopts \
+ _zpty _zsh-mime-handler _zsocket _zstyle _ztodo
autoload -Uz +X _call_program
typeset -gUa _comp_assocs
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index b71756f..83b69c8 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -4,7 +4,7 @@
# PS1 colors and style.
autoload -U colors && colors
-PS1="%{$fg_bold[red]%}[%{$fg_bold[yellow]%}%n%{$fg_bold[green]%}@%{$fg_bold[blue]%}%M %{$fg_bold[magenta]%}%~%{$fg_bold[red]%}]%{$fg_bold[cyan]%}$%{$reset_color%} "
+PS1="%{$fg_bold[red]%}[%{$fg_bold[yellow]%}%n%{$fg_bold[green]%}@%{$fg_bold[blue]%}%M %{$fg_bold[magenta]%}%(5~|%-2~/.../%2~|%~)%{$fg_bold[red]%}]%{$fg_bold[cyan]%}$%{$reset_color%} "
# Set LS_COLORS via dircolors.
[[ -f $HOME/.config/dircolors ]] && eval "$(dircolors $HOME/.config/dircolors)"