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

Commit 7d148c5f7a89530912db959208d70e3d48c79fb6
Parent: 37f63c7c0c290903a256673f3bb0fdba3c0c58f2
Author: mcol <mcol@posteo.net>
Date: 2021-01-18 18:01:28 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-01-18 18:01:28 +0000

updates

zshrc Modified

@@ -69,3 +69,5 @@
 export RANGER_LOAD_DEFAULT_RC=FALSE
 
 export PYTHONPATH=$HOME/git/reach
+export XKB_DEFAULT_OPTIONS=caps:swapescape,altwin:swap_alt_win
+export XKB_DEFAULT_LAYOUT=gb

rc.conf Modified

@@ -85,7 +85,7 @@
 # * urxvt-full:
 #   The same as urxvt but utilizing not only the preview pane but the
 #   whole terminal window.
-set preview_images_method ueberzug
+set preview_images_method w3m
 
 # Use a unicode "..." character to mark cut-off filenames?
 set unicode_ellipsis true
@@ -609,9 +609,9 @@
 
 # rotate image
 map r noop
-map r1 shell mogrify -rotate 90 %s
-map r2 shell mogrify -rotate 180 %s
-map r3 shell mogrify -rotate 270 %s
+map r1 shell convert %s -rotate 90 %s
+map r2 shell convert %s -rotate 180 %s
+map r3 shell convert %s -rotate 270 %s
 
 # drag files
 #map <C-d> shell dragon-drag-and-drop -a -x %p &> /dev/null &

aliases Modified

@@ -12,6 +12,7 @@
 alias _='sudo'
 alias grep='grep --exclude-dir="__pycache__"'
 alias p='ps aux  | grep -v grep | grep -i'
+alias import='echo you forgot to enter python'
 
 # systemd
 alias sc='systemctl'
@@ -49,6 +50,7 @@
 # git
 alias gs='git status'
 alias ad='git add'
+alias co='git commit'
 alias cm='git commit -m'
 alias psh='git push'
 alias fe='git fetch && git status'
@@ -58,10 +60,13 @@
 alias brs='git branch -v'
 alias ch='git checkout'
 alias dif='git diff'
-alias difs='git diff --staged'
+alias dic='git diff --cached'
 alias cl='git clone'
 alias chp='git cherry-pick'
 alias rs='git restore'
+alias st='git stash'
+alias stl='git stash list'
+alias stp='git stash pop'
 
 # tools
 alias usync='rsync -avPzh --delete'
@@ -77,13 +82,12 @@
 alias modrc='vim $HOME/.config/ranger/rc.conf'
 
 # shortcuts
-alias gc='cd $HOME/.config; l'
-alias gh='cd $HOME; ls'
+alias gc='cd $HOME/.config'
 alias gd='cd $HOME/documents'
 alias gD='cd $HOME/Downloads'
-alias gDe='cd $HOME/Desktop'
+alias gde='cd $HOME/desktop'
 alias gg='cd $HOME/git; l'
-alias gb='cd $HOME/.config/bin; ls'
+alias gb='cd $HOME/.config/bin'
 alias ge='cd /etc'
 alias gv='cd $HOME/.vim/bundle/vim-misc'
 alias gvm='cd $HOME/.vim/bundle/vim-misc; ra'