config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 8aaf8f864adab186390b5dfc1d1bdee0f7525d71
parent b0a584bfd2830c04f7989e664678c1d4a1d59f7b
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date:   Mon, 13 Jan 2020 12:29:21 -0800

realized compdef command exists

Diffstat:
Dzsh/.zsh-completion/_note | 11-----------
Dzsh/.zsh-completion/_sticky | 7-------
Mzsh/.zshrc | 9+++++++--
3 files changed, 7 insertions(+), 20 deletions(-)

diff --git a/zsh/.zsh-completion/_note b/zsh/.zsh-completion/_note @@ -1,11 +0,0 @@ -#compdef note -#vim! filetype=cfg -# jacob edwards 21/12/2019 - - -cd "$HOME/.notes/" - -_arguments\ - '*: :_files' - - diff --git a/zsh/.zsh-completion/_sticky b/zsh/.zsh-completion/_sticky @@ -1,7 +0,0 @@ -#compdef sticky - -_arguments \ - '1:do:(read write)'\ - '2:do:(column= sort= grep=)'\ - '3:do:(total hour number)'\ - '4:do:(tui)' diff --git a/zsh/.zshrc b/zsh/.zshrc @@ -19,6 +19,9 @@ zstyle ':completion:*' menu select bindkey -M menuselect '^[[Z' reverse-menu-complete compinit +compdef "_files -W "$HOME/.notes"" note + + # }}} #>global variables {{{ @@ -41,7 +44,8 @@ bindkey "^[[1;5D" backward-word #crtl+rigth bindkey "[d" backward-delete-word #crtl+backspace bindkey "[M" delete-word #crtl+backspace -WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' +# characters delete word wont care about +WORDCHARS='\*?.[]~&;!#$%^(){}<>' typeset -g -A key @@ -128,12 +132,13 @@ SAVEHIST=150000 alias mv='mv --no-clobber' alias cp='cp --no-clobber' alias tmux='tmux -u' - alias suspend='systemctl suspend' + alias suspend="$HOME/bin/suspend" alias hibernate='systemctl hibernate' # Program Extentions alias pacman='pacman-c' alias cdr='cd "$(printf "$PWD" | rev | cut -d '/' -f 2-99 | rev)"' +# alias notify-send-replace='~/./notify/init.dash' # Etc