My zsh configuration
git clone https://github.com/m-col/zshrc
Files | Refs | Readme

Commit 5e4234bb2bc38c52223ff03b41154a4bd31d3b37
Parent: 4f198fe2677fbc9596d410694fe0a0797e2171ba
Author: mcol <mcol@posteo.net>
Date: 2019-02-24 17:15:06 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2019-02-24 17:15:06 +0000

networking aliases from laptop into repo, at trash to ranger shortcuts and fix move-to-trash keybind, move ctrl-A to after vi keybind settings in zshrc

zshrc Modified

@@ -33,7 +33,6 @@
 setopt HIST_REDUCE_BLANKS
 
 # plugins
-bindkey '^A' autosuggest-execute
 for plugin ($ZSH/oh-my-zsh/*.zsh $ZSH/*.zsh(N))
 do
     source $plugin
@@ -53,6 +52,8 @@
 ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
 so $ZSH/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 
+bindkey '^A' autosuggest-execute
+
 export SUDO_EDITOR=vim
 export EDITOR=vim
 

rc.conf Modified

@@ -375,7 +375,7 @@
 map ya copy mode=add
 map yr copy mode=remove
 map yt copy mode=toggle
-map DD shell bin '%s'
+map DD shell bin %s
 
 # Temporary workarounds
 map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier)
@@ -649,6 +649,7 @@
 map gC cd ~/documents/C
 map gD cd ~/Downloads
 map gz cd ~/.zsh
+map gt cd ~/.local/share/Trash/files
 
 # view git diffs
 map bd shell git diff --color=always %s | less -r

aliases Modified

@@ -17,11 +17,15 @@
 alias eduroam='nmcli con up eduroam'
 alias pinga='ping archlinux.org'
 alias ip="ip -c"
+alias ufw="sudo ufw"
+alias dns="cat /etc/resolv.conf"
+alias pinga='ping archlinux.org'
 
 # launchers
 alias ra="ranger"
 alias vi="vim"
 alias tmux="tmux -u"
+alias ta="tmux attach"
 
 # git
 alias gs="git status"