From 014c4e6252e829c5e546f9d05ed7ec999e75d3d0 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 27 Jan 2016 13:46:46 +0000 Subject: Add nfs share in z_exclude_dir --- .zsh/plugins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zsh/plugins') diff --git a/.zsh/plugins b/.zsh/plugins index 82f4c22..e87140c 100644 --- a/.zsh/plugins +++ b/.zsh/plugins @@ -55,4 +55,4 @@ fi } # Z -export _Z_EXCLUDE_DIRS=("$HOME/sshfs") +export _Z_EXCLUDE_DIRS=("$HOME/sshfs", "$HOME/nfs") -- cgit v1.2.3 From 4350b747f91ec9d6f775f0315a868e0eaa1b4e7c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 12 Feb 2016 11:27:33 +0100 Subject: Correct bugs xmodmap --- .mr/mrconfig | 2 +- .zsh/plugins | 14 ++++---------- bin/keyboard | 2 +- mail.sieve | 11 +++++++++++ 4 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 mail.sieve (limited to '.zsh/plugins') diff --git a/.mr/mrconfig b/.mr/mrconfig index a16892b..e4064d4 100644 --- a/.mr/mrconfig +++ b/.mr/mrconfig @@ -1,5 +1,5 @@ [/home/urbain/dotfiles] -checkout = git clone 'git@github.com:uvaes/dotfiles' 'dotfiles' +checkout = git clone 'urbain@urbainvaes.com:git/dotfiles.git' 'dotfiles' [/home/urbain/dotfiles/.personal] checkout = git clone 'urbain@urbainvaes.com:git/perso/personal.git' '.personal' diff --git a/.zsh/plugins b/.zsh/plugins index e87140c..51cd50e 100644 --- a/.zsh/plugins +++ b/.zsh/plugins @@ -32,7 +32,7 @@ if ! zgen saved; then # Other plugins zgen load rupa/z zgen load djui/alias-tips - zgen load tarruda/zsh-autosuggestions + zgen load tarruda/zsh-autosuggestions dist/autosuggestions.zsh zgen load joel-porquet/zsh-dircolors-solarized # Save all to init script @@ -43,15 +43,9 @@ fi # Autosuggestion { - # Environment variables for plugin - AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=6' - - zle-line-init() { - zle autosuggest-start - } - zle -N zle-line-init - - bindkey '^y' autosuggest-execute-suggestion + ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=6' + autosuggest_start + bindkey '^y' autosuggest-accept } # Z diff --git a/bin/keyboard b/bin/keyboard index 3c57c73..5a96bcb 100755 --- a/bin/keyboard +++ b/bin/keyboard @@ -8,7 +8,7 @@ xmodmap -e "add Control = Control_L" # Remap modifiers (Keyboard dependent) xmodmap -e "keycode 94 = Mode_switch" -xmodmap -e 'keycode 108 = Super_L' +# xmodmap -e 'keycode 108 = Super_L' # Remap modifiers (Keyboard independent) xmodmap -e 'keysym space = Super_L' diff --git a/mail.sieve b/mail.sieve new file mode 100644 index 0000000..d7dd982 --- /dev/null +++ b/mail.sieve @@ -0,0 +1,11 @@ +require ["fileinto"]; + +if address :is "To" "facebook@urbainvaes.com" +{ + fileinto :create "Drafts"; +} + +else +{ + keep; +} -- cgit v1.2.3