diff options
author | Urbain Vaes <urbain@vaes.uk> | 2017-05-09 11:35:13 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2017-05-09 11:35:13 +0100 |
commit | 6bd95ac1fbad3b9294d197cc248f8b68349f20c4 (patch) | |
tree | 9dcf927a48246eba3482e21173ed166d333e221c | |
parent | 5dcd172bae25192a5366e8ad1ad3a9d7ed7a8247 (diff) | |
parent | 7e773ede46fca474cbd560bb78a2810c112bb813 (diff) |
Merge branch 'master' of urbainvaes.com:public/dotfiles
-rwxr-xr-x | bin/bin/keyboard | 1 | ||||
-rwxr-xr-x | bin/bin/references | 2 | ||||
-rw-r--r-- | zsh/.zsh/plugins | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/bin/bin/keyboard b/bin/bin/keyboard index 53f4df9..ec11f7b 100755 --- a/bin/bin/keyboard +++ b/bin/bin/keyboard @@ -33,7 +33,6 @@ xmodmap -e "keysym XF86Eject = Insert" # Xcape settings killall -9 xcape -xcape -e 'Mode_switch=u' xcape -e 'Control_L=Escape' xcape -e 'Super_L=space' xcape -e 'Alt_L=Tab' diff --git a/bin/bin/references b/bin/bin/references index eba1fb1..4e6346a 100755 --- a/bin/bin/references +++ b/bin/bin/references @@ -1,5 +1,5 @@ #!/bin/bash REF_DIR="$HOME/phd/references" -PDF=$(locate "$REF_DIR/**/*.pdf") +PDF=$(find $REF_DIR -name "*.pdf" -printf "%P\n") TARGET=$(echo "${PDF//"$REF_DIR/"/}" | dmenu -i -p "Open File:") [[ -n $TARGET ]] && (zathura "$REF_DIR/$TARGET" &) diff --git a/zsh/.zsh/plugins b/zsh/.zsh/plugins index 7c86956..649f00d 100644 --- a/zsh/.zsh/plugins +++ b/zsh/.zsh/plugins @@ -22,11 +22,11 @@ if ! zgen saved; then # Other plugins zgen load rupa/z zgen load djui/alias-tips - zgen load tarruda/zsh-autosuggestions # zsh-users plugins zgen load zsh-users/zsh-completions src zgen load zsh-users/zsh-syntax-highlighting + zgen load zsh-users/zsh-autosuggestions # Save all to init script zgen save |