diff --git a/dot_config/gruvbox/color.table b/dot_config/gruvbox/color.table deleted file mode 100644 index fd6c784..0000000 --- a/dot_config/gruvbox/color.table +++ /dev/null @@ -1,44 +0,0 @@ - GRUVCOLR HEX RELATV ALIAS TERMCOLOR RGB ITERM RGB OSX HEX - -------------- ------- ------------ ------------ ----------- ----------- ------- - dark0_hard #1d2021 [ ] [ ] 234 [h0][ ] 29- 32- 33 22- 24- 25 #161819 - dark0 #282828 [bg0] [fg0] 235 [ 0][ ] 40- 40- 40 30- 30- 30 #1e1e1e - dark0_soft #32302f [ ] [ ] 236 [s0][ ] 50- 48- 47 38- 36- 35 #262423 - dark1 #3c3836 [bg1] [fg1] 237 [ ][15] 60- 56- 54 46- 42- 41 #2e2a29 - dark2 #504945 [bg2] [fg2] 239 [ ][ ] 80- 73- 69 63- 57- 53 #3f3935 - dark3 #665c54 [bg3] [fg3] 241 [ ][ ] 102- 92- 84 83- 74- 66 #534a42 - dark4 #7c6f64 [bg4] [fg4] 243 [ ][ 7] 124-111-100 104- 92- 81 #685c51 - - gray_245 #928374 [gray] [ ] 245 [ 8][ ] 146-131-116 127-112- 97 #7f7061 - gray_244 #928374 [ ] [gray] 244 [ ][ 8] 146-131-116 127-112- 97 #7f7061 - - light0_hard #f9f5d7 [ ] [ ] 230 [ ][h0] 249-245-215 248-244-205 #f8f4cd - light0 #fbf1c7 [fg0] [bg0] 229 [ ][ 0] 251-241-199 250-238-187 #faeebb - light0_soft #f2e5bc [ ] [ ] 228 [ ][s0] 242-229-188 239-223-174 #efdfae - light1 #ebdbb2 [fg1] [bg1] 223 [15][ ] 235-219-178 230-212-163 #e6d4a3 - light2 #d5c4a1 [fg2] [bg2] 250 [ ][ ] 213-196-161 203-184-144 #cbb890 - light3 #bdae93 [fg3] [bg3] 248 [ ][ ] 189-174-147 175-159-129 #af9f81 - light4 #a89984 [fg4] [bg4] 246 [ 7][ ] 168-153-132 151-135-113 #978771 - - bright_red #fb4934 [red] [ ] 167 [ 9][ ] 251- 73- 52 247- 48- 40 #f73028 - bright_green #b8bb26 [green] [ ] 142 [10][ ] 184-187- 38 170-176- 30 #aab01e - bright_yellow #fabd2f [yellow][ ] 214 [11][ ] 250-189- 47 247-177- 37 #f7b125 - bright_blue #83a598 [blue] [ ] 109 [12][ ] 131-165-152 113-149-134 #719586 - bright_purple #d3869b [purple][ ] 175 [13][ ] 211-134-155 199-112-137 #c77089 - bright_aqua #8ec07c [aqua] [ ] 108 [14][ ] 142-192-124 125-182-105 #7db669 - bright_orange #fe8019 [orange][ ] 208 [ ][ ] 254-128- 25 251-106- 22 #fb6a16 - - neutral_red #cc241d [ ] [ ] 124 [ 1][ 1] 204- 36- 29 190- 15- 23 #be0f17 - neutral_green #98971a [ ] [ ] 106 [ 2][ 2] 152-151- 26 134-135- 21 #868715 - neutral_yellow #d79921 [ ] [ ] 172 [ 3][ 3] 215-153- 33 204-136- 26 #cc881a - neutral_blue #458588 [ ] [ ] 66 [ 4][ 4] 69-133-136 55-115-117 #377375 - neutral_purple #b16286 [ ] [ ] 132 [ 5][ 5] 177- 98-134 160- 75-115 #a04b73 - neutral_aqua #689d6a [ ] [ ] 72 [ 6][ 6] 104-157-106 87-142- 87 #578e57 - neutral_orange #d65d0e [ ] [ ] 166 [ ][ ] 214- 93- 14 202- 72- 14 #ca480e - - faded_red #9d0006 [ ] [red] 88 [ ][ 9] 157- 0- 6 137- 0- 9 #890009 - faded_green #79740e [ ] [green] 100 [ ][10] 121-116- 14 102- 98- 13 #66620d - faded_yellow #b57614 [ ][yellow] 136 [ ][11] 181-118- 20 165- 99- 17 #a56311 - faded_blue #076678 [ ] [blue] 24 [ ][12] 7-102-120 14- 83-101 #0e5365 - faded_purple #8f3f71 [ ][purple] 96 [ ][13] 143- 63-113 123- 43- 94 #7b2b5e - faded_aqua #427b58 [ ] [aqua] 66 [ ][14] 66-123- 88 53-106- 70 #356a46 - faded_orange #af3a03 [ ][orange] 130 [ ][ ] 175- 58- 3 157- 40- 7 #9d2807 diff --git a/dot_config/gruvbox/termcolor.zsh b/dot_config/gruvbox/termcolor.zsh deleted file mode 100644 index f81382c..0000000 --- a/dot_config/gruvbox/termcolor.zsh +++ /dev/null @@ -1,42 +0,0 @@ -gruvbox_dark0_hard=234 -gruvbox_dark0=235 -gruvbox_dark0_soft=236 -gruvbox_dark1=237 -gruvbox_dark2=239 -gruvbox_dark3=241 -gruvbox_dark4=243 - -gruvbox_gray_245=245 -gruvbox_gray_244=244 - -gruvbox_light0_hard=230 -gruvbox_light0=229 -gruvbox_light0_soft=228 -gruvbox_light1=223 -gruvbox_light2=250 -gruvbox_light3=248 -gruvbox_light4=246 - -gruvbox_bright_red=167 -gruvbox_bright_green=142 -gruvbox_bright_yellow=214 -gruvbox_bright_blue=109 -gruvbox_bright_purple=175 -gruvbox_bright_aqua=108 -gruvbox_bright_orange=208 - -gruvbox_neutral_red=124 -gruvbox_neutral_green=106 -gruvbox_neutral_yellow=172 -gruvbox_neutral_blue=66 -gruvbox_neutral_purple=132 -gruvbox_neutral_aqua=72 -gruvbox_neutral_orange=166 - -gruvbox_faded_red=88 -gruvbox_faded_green=100 -gruvbox_faded_yellow=136 -gruvbox_faded_blue=24 -gruvbox_faded_purple=96 -gruvbox_faded_aqua=66 -gruvbox_faded_orange=130 diff --git a/dot_config/oh-my-zsh/.keep b/dot_config/oh-my-zsh/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/dot_config/oh-my-zsh/custom/.keep b/dot_config/oh-my-zsh/custom/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/dot_config/oh-my-zsh/custom/01_variables.zsh b/dot_config/oh-my-zsh/custom/01_variables.zsh deleted file mode 100644 index 06e7c2e..0000000 --- a/dot_config/oh-my-zsh/custom/01_variables.zsh +++ /dev/null @@ -1,38 +0,0 @@ -# make sure LS behaves as we want it to -if [[ $OSTYPE = (linux)* ]]; then - export LS_OPTIONS='--color=auto' -fi - -# terminal definition -export TERM="rxvt-unicode-256color" - -# default programs -export SHELL="/bin/zsh" -export EDITOR="vim" - -# LOCALE settings -export LANG="en_US.UTF-8" -export LC_ALL="en_US.UTF-8" - -# If you come from bash you might have to change your $PATH. -# export PATH=$HOME/bin:/usr/local/bin:$PATH -# ZSH History -export HISTFILE="$HOME/.zsh_history" -export HISTSIZE=100000 -export SAVEHIST=$HISTSIZE - -#export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:' -# MANPAGE settings -export LESS_TERMCAP_mb=$'\e[1;31m' # begin bold -export LESS_TERMCAP_md=$'\e[1;36m' # begin blink -export LESS_TERMCAP_so=$'\e[1;33;44m' # begin reverse video -export LESS_TERMCAP_us=$'\e[1;37m' # begin underline -export LESS_TERMCAP_me=$'\e[0m' # reset bold/blink -export LESS_TERMCAP_se=$'\e[0m' # reset reverse video -export LESS_TERMCAP_ue=$'\e[0m' # reset underline -export GROFF_NO_SGR=1 # for konsole and gnome-terminal -export MANPAGER='less -s -M -R +Gg' -export MANPATH="/usr/local/man:$MANPATH" - -# Add ~/bin to the PATH -[ -d "$HOME/bin" ] && export PATH="$HOME/bin:$PATH" diff --git a/dot_config/oh-my-zsh/custom/02_zplug.zsh b/dot_config/oh-my-zsh/custom/02_zplug.zsh deleted file mode 100644 index dfb4cf1..0000000 --- a/dot_config/oh-my-zsh/custom/02_zplug.zsh +++ /dev/null @@ -1,232 +0,0 @@ -# ============================================================================= -# Plugins -# ============================================================================= -export ZPLUG_LOADED=blabla -# Check if zplug is installed -[ ! -d ~/.zplug ] && git clone https://github.com/zplug/zplug ~/.zplug - -# enable zplug -source ~/.zplug/init.zsh -zplug 'zplug/zplug', hook-build:'zplug --self-manage' - -# Because your terminal should be able to perform tasks asynchronously without external tools! -zplug "mafredri/zsh-async", from:github, use:async.zsh - -# introduce 256 colors in terminal -zplug "chrissicool/zsh-256color" - -# not sure what anyframe does... allows other plugins to function? works with fzf -zplug "mollifier/anyframe" -if zplug check "mollifier/anyframe"; then - # expressly specify to use peco - #zstyle ":anyframe:selector:" use peco - # expressly specify to use percol - #zstyle ":anyframe:selector:" use percol - # expressly specify to use fzf-tmux - #zstyle ":anyframe:selector:" use fzf-tmux - # expressly specify to use fzf - zstyle ":anyframe:selector:" use fzf - - # specify path and options for peco, percol, or fzf - #zstyle ":anyframe:selector:peco:" command 'peco --no-ignore-case' - #zstyle ":anyframe:selector:percol:" command 'percol --case-sensitive' - #zstyle ":anyframe:selector:fzf-tmux:" command 'fzf-tmux --extended' - #zstyle ":anyframe:selector:fzf:" command 'fzf --extended' - #zstyle ":anyframe:selector:fzf:" command 'fzf' - - #bindkey '^@' anyframe-widget-cd-ghq-repository - #bindkey '^r' anyframe-widget-put-history -fi - -# print a github style calendar in terminal -zplug "k4rthik/git-cal", as:command - -# Simplistic interactive filtering tool -zplug "peco/peco", as:command, from:gh-r, use:"*${(L)$(uname -s)}*amd64*" - -# fzf is a general-purpose command-line fuzzy finder. -zplug "junegunn/fzf-bin", as:command, from:gh-r, rename-to:fzf, use:"*${(L)$(uname -s)}*amd64*" -if zplug check "junegunn/fzf-bin"; then - export FZF_DEFAULT_OPTS="--height 40% --reverse --border --inline-info --color=dark,bg+:235,hl+:10,pointer:5" -fi -zplug "junegunn/fzf", use:"shell/*.zsh" -# C^x C^x to launch fzf? -zplug "b4b4r07/easy-oneliner", if:"which fzf", on:"junegunn/fzf-bin" - - -# Enhanced cd -zplug "b4b4r07/enhancd", use:init.sh -if zplug check "b4b4r07/enhancd"; then - ENHANCD_FILTER="fzf:peco:percol" - # type 'c' and get a list of likely dirs you want to go to - ENHANCD_COMMAND="c" -fi - -# Bookmarks and jump -zplug "jocelynmallon/zshmarks" - -# Enhanced dir list with git features -zplug "supercrabtree/k" - -# Jump back to parent directory -zplug "tarrasch/zsh-bd" - -# Simple zsh calculator -zplug "arzzen/calc.plugin.zsh" - -# Directory colors -zplug "seebi/dircolors-solarized", ignore:"*", as:plugin -zplug "pinelibg/dircolors-solarized-zsh" - -zplug "plugins/common-aliase", from:oh-my-zsh -zplug "plugins/command-not-found", from:oh-my-zsh -zplug "plugins/copydir", from:oh-my-zsh -zplug "plugins/copyfile", from:oh-my-zsh -zplug "plugins/cp", from:oh-my-zsh -zplug "plugins/dircycle", from:oh-my-zsh -zplug "plugins/encode64", from:oh-my-zsh -zplug "plugins/extract", from:oh-my-zsh -zplug "plugins/history", from:oh-my-zsh -zplug "plugins/tmux", from:oh-my-zsh -zplug "plugins/tmuxinator", from:oh-my-zsh -zplug "plugins/urltools", from:oh-my-zsh -zplug "plugins/web-search", from:oh-my-zsh -zplug "plugins/z", from:oh-my-zsh -zplug "plugins/fancy-ctrl-z", from:oh-my-zsh - -# Supports oh-my-zsh plugins and the like -if [[ $OSTYPE = (linux)* ]]; then - zplug "plugins/archlinux", from:oh-my-zsh, if:"(( $+commands[pacman] ))" - zplug "plugins/dnf", from:oh-my-zsh, if:"(( $+commands[dnf] ))" - zplug "plugins/mock", from:oh-my-zsh, if:"(( $+commands[mock] ))" -fi - -zplug "plugins/git", from:oh-my-zsh, if:"(( $+commands[git] ))" -zplug "plugins/golang", from:oh-my-zsh, if:"(( $+commands[go] ))" -zplug "plugins/svn", from:oh-my-zsh, if:"(( $+commands[svn] ))" -zplug "plugins/node", from:oh-my-zsh, if:"(( $+commands[node] ))" -zplug "plugins/npm", from:oh-my-zsh, if:"(( $+commands[npm] ))" -zplug "plugins/bundler", from:oh-my-zsh, if:"(( $+commands[bundler] ))" -zplug "plugins/gem", from:oh-my-zsh, if:"(( $+commands[gem] ))" -zplug "plugins/rvm", from:oh-my-zsh, if:"(( $+commands[rvm] ))" -zplug "plugins/pip", from:oh-my-zsh, if:"(( $+commands[pip] ))" -zplug "plugins/sudo", from:oh-my-zsh, if:"(( $+commands[sudo] ))" -zplug "plugins/gpg-agent", from:oh-my-zsh, if:"(( $+commands[gpg-agent] ))" -zplug "plugins/systemd", from:oh-my-zsh, if:"(( $+commands[systemctl] ))" -zplug "plugins/docker", from:oh-my-zsh, if:"(( $+commands[docker] ))" -zplug "plugins/docker-compose", from:oh-my-zsh, if:"(( $+commands[docker-compose] ))" -zplug "plugins/terraform", from:oh-my-zsh, if:"(( $+commands[terraform] ))" -zplug "plugins/vagrant", from:oh-my-zsh, if:"(( $+commands[vagrant] ))" - -zplug "djui/alias-tips" -zplug "hlissner/zsh-autopair", defer:2 - -# Additional completion definitions for Zsh. -zplug "zsh-users/zsh-completions" - -# Suggests commands as you type based on history and completions. -zplug "zsh-users/zsh-autosuggestions" -if zplug check "zsh-users/zsh-autosuggestions"; then - #ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10' - ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=075' #color could be adjusted to theme - #ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=162' -fi - -# zsh-syntax-highlighting must be loaded after executing compinit command and sourcing other plugins -zplug "zsh-users/zsh-syntax-highlighting", defer:2 -if zplug check "zsh-users/zsh-syntax-highlighting"; then - typeset -gA ZSH_HIGHLIGHT_STYLES ZSH_HIGHLIGHT_PATTERNS - - ZSH_HIGHLIGHT_STYLES[default]='none' - ZSH_HIGHLIGHT_STYLES[cursor]='fg=yellow' - ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=red' - ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=yellow' - ZSH_HIGHLIGHT_STYLES[alias]='fg=cyan' - ZSH_HIGHLIGHT_STYLES[builtin]='fg=cyan' - ZSH_HIGHLIGHT_STYLES[function]='fg=cyan' - ZSH_HIGHLIGHT_STYLES[command]='fg=cyan' - ZSH_HIGHLIGHT_STYLES[precommand]='fg=green' - ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=yellow' - ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=green' - ZSH_HIGHLIGHT_STYLES[path]='fg=white,underline' - ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=grey,underline' - ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=white' - ZSH_HIGHLIGHT_STYLES[path_approx]='fg=white' - ZSH_HIGHLIGHT_STYLES[globbing]='none' - ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=green' - ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=blue' - ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=blue' - ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='none' - ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=magenta' - ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=magenta' - ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan' - ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan' - ZSH_HIGHLIGHT_STYLES[redirection]='fg=magenta' - ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=cyan,bold' - ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=green,bold' - ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=magenta,bold' - ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=yellow,bold' - ZSH_HIGHLIGHT_STYLES[assign]='none' - - ZSH_HIGHLIGHT_PATTERNS=('rm -rf *' 'fg=white,bold,bg=red') - - ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor line) -fi - -# search in zsh history -zplug "zsh-users/zsh-history-substring-search", defer:3 -if zplug check "zsh-users/zsh-history-substring-search"; then - zmodload zsh/terminfo - bindkey "$terminfo[kcuu1]" history-substring-search-up - bindkey "$terminfo[kcud1]" history-substring-search-down - bindkey "^[[1;5A" history-substring-search-up - bindkey "^[[1;5B" history-substring-search-down -fi - -# Finalise the zplug section, install and load -# Install plugins if there are plugins that have not been installed -if ! zplug check; then - printf "Install plugins? [y/N]: " - if read -q; then - echo; zplug install - fi -fi - -# zplug load is called in the last stage (see other ./custom files) - -# Completions -# the internal list (hash) of commands will be updated for each search by issuing the rehash command -zstyle ':completion:*' rehash true -# http://zsh.sourceforge.net/Doc/Release/Completion-System.html -zstyle ':completion:' completer _complete _match _approximate -zstyle ':completion:' group-name '' -#zstyle ':completion:' list-colors ${(s.:.)LS_COLORS} -zstyle ':completion:' matcher-list 'm:{a-z}={A-Z}' -zstyle ':completion:' use-cache true -zstyle ':completion:' verbose yes -zstyle ':completion::default' menu select=2 -zstyle ':completion::descriptions' format '%F{yellow}-- %d --%f' -zstyle ':completion:*:options' description 'yes' -# case-insensitive (uppercase from lowercase) completion -#zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' -# process completion -#zstyle ':completion:*:processes' command 'ps -au$USER' -#zstyle ':completion:*:*:kill:*:processes' list-colors "=(#b) #([0-9]#)*=36=31" -zstyle ':completion:*' completer _expand _complete _ignored _approximate -#zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} -zstyle ':completion:*' menu select=2 -zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s' -zstyle ':completion:*:descriptions' format '%U%F{yellow}%d%f%u' -#zstyle ':completion:*:*:git:*' script ~/.git-completion.sh -zstyle ':completion:*' verbose yes -zstyle ':completion:*:descriptions' format '%B%d%b' -zstyle ':completion:*:messages' format '%d' -zstyle ':completion:*:warnings' format 'No matches for: %d' -zstyle ':completion:*' group-name '' -# case-insensitive (all), partial-word and then substring completion -zstyle ":completion:*" matcher-list \ - "m:{a-zA-Z}={A-Za-z}" \ - "r:|[._-]=* r:|=*" \ - "l:|=* r:|=*" -zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" -zstyle ':completion:*:default' list-colors "${(s.:.)LS_COLORS}" diff --git a/dot_config/oh-my-zsh/custom/08_shell_settings.zsh b/dot_config/oh-my-zsh/custom/08_shell_settings.zsh deleted file mode 100644 index 77ee174..0000000 --- a/dot_config/oh-my-zsh/custom/08_shell_settings.zsh +++ /dev/null @@ -1,2 +0,0 @@ -# this enables vi bindings in zsh -bindkey -v diff --git a/dot_config/oh-my-zsh/custom/09_alias.zsh b/dot_config/oh-my-zsh/custom/09_alias.zsh deleted file mode 100644 index 6013156..0000000 --- a/dot_config/oh-my-zsh/custom/09_alias.zsh +++ /dev/null @@ -1,15 +0,0 @@ -alias rm="rm -v" -alias vi="vim" -alias cp="cp -v" -alias mv="mv -v" -alias ls="ls $LS_OPTIONS -hFtr" -alias ll="ls $LS_OPTIONS -lAhFtr" -alias ccat="pygmentize -O style=monokai -f 256 -g" -alias dig="dig +nocmd any +multiline +noall +answer" -alias prettyjson='python -m json.tool' -# aliases to quickly switch between two keyboard layouts -alias aoeu="setxkbmap us" -alias asdf="setxkbmap dvorak" - -disable -r time # disable shell reserved word -alias time='time -p ' # -p for POSIX output diff --git a/dot_config/oh-my-zsh/custom/09_settings.zsh b/dot_config/oh-my-zsh/custom/09_settings.zsh deleted file mode 100644 index 12eec91..0000000 --- a/dot_config/oh-my-zsh/custom/09_settings.zsh +++ /dev/null @@ -1,105 +0,0 @@ -# OPTIONS -setopt autocd # Allow changing directories without `cd` -setopt append_history # Dont overwrite history -setopt auto_list -setopt auto_menu -setopt auto_pushd -setopt extended_history # Also record time and duration of commands. -setopt hist_expire_dups_first # Clear duplicates when trimming internal hist. -setopt hist_find_no_dups # Dont display duplicates during searches. -setopt hist_ignore_dups # Ignore consecutive duplicates. -setopt hist_ignore_all_dups # Remember only one unique copy of the command. -setopt hist_reduce_blanks # Remove superfluous blanks. -setopt hist_save_no_dups # Omit older commands in favor of newer ones. -setopt hist_ignore_space # Ignore commands that start with space. -#setopt hist_ignore_all_dups -#setopt hist_ignore_dups -#setopt hist_reduce_blanks -#setopt hist_save_no_dups -#setopt ignore_eof -setopt inc_append_history -setopt interactive_comments -setopt no_beep -setopt no_hist_beep -setopt no_list_beep -setopt magic_equal_subst -setopt notify -setopt print_eight_bit -setopt print_exit_value -setopt prompt_subst -setopt pushd_ignore_dups -#setopt rm_star_wait -setopt share_history # Share history between multiple shells -setopt transient_rprompt - -# Watching other users -#WATCHFMT="%n %a %l from %m at %t." -watch=(notme) # Report login/logout events for everybody except ourself. -LOGCHECK=60 # Time (seconds) between checks for login/logout activity. -REPORTTIME=5 # Display usage statistics for commands running > 5 sec. - -# Key timeout and character sequences -KEYTIMEOUT=1 -WORDCHARS='*?_-[]~=./&;!#$%^(){}<>' - -zshaddhistory() { whence ${${(z)1}[1]} >| /dev/null || return 1 } - -# BINDINGS -# -v enables vim bindings -bindkey -v -bindkey -v '^?' backward-delete-char -bindkey '^[[Z' reverse-menu-complete - -# Common CTRL bindings. -bindkey "^a" beginning-of-line -bindkey "^e" end-of-line -bindkey "^f" forward-word -bindkey "^b" backward-word -bindkey "^k" kill-line -bindkey "^d" delete-char -bindkey "^y" accept-and-hold -bindkey "^w" backward-kill-word -bindkey "^u" backward-kill-line -bindkey "^R" history-incremental-pattern-search-backward -bindkey "^F" history-incremental-pattern-search-forward - -# Do not require a space when attempting to tab-complete. -bindkey "^i" expand-or-complete-prefix - -# Fixes for alt-backspace and arrows keys -bindkey '^[^?' backward-kill-word -bindkey "^[[1;5C" forward-word -bindkey "^[[1;5D" backward-word -#bindkey "^[[C" forward-word -#bindkey "^[[D" backward-word - -## Emulate tcsh's backward-delete-word -#tcsh-backward-kill-word () { -# local WORDCHARS="${WORDCHARS:s#/#}" -# zle backward-kill-word -#} -#zle -N tcsh-backward-kill-word - -# https://github.com/sickill/dotfiles/blob/master/.zsh.d/key-bindings.zsh -tcsh-backward-word () { - local WORDCHARS="${WORDCHARS:s#./#}" - zle emacs-backward-word -} -zle -N tcsh-backward-word -bindkey '\e[1;3D' tcsh-backward-word -bindkey '\e^[[D' tcsh-backward-word # tmux - -tcsh-forward-word () { - local WORDCHARS="${WORDCHARS:s#./#}" - zle emacs-forward-word -} -zle -N tcsh-forward-word -bindkey '\e[1;3C' tcsh-forward-word -bindkey '\e^[[C' tcsh-backward-word # tmux - -tcsh-backward-delete-word () { - local WORDCHARS="${WORDCHARS:s#./#}" - zle backward-delete-word -} -zle -N tcsh-backward-delete-word -bindkey "^[^?" tcsh-backward-delete-word # urxvt diff --git a/dot_config/oh-my-zsh/custom/10_finalise.zsh b/dot_config/oh-my-zsh/custom/10_finalise.zsh deleted file mode 100644 index 50be801..0000000 --- a/dot_config/oh-my-zsh/custom/10_finalise.zsh +++ /dev/null @@ -1,6 +0,0 @@ -# Load the zplug plugins -zplug load - -# Set up SDKMAN -export SDKMAN_DIR="/home/jnieland/.sdkman" -[[ -s "/home/jnieland/.sdkman/bin/sdkman-init.sh" ]] && source "/home/jnieland/.sdkman/bin/sdkman-init.sh" diff --git a/dot_config/oh-my-zsh/custom/themes/.keep b/dot_config/oh-my-zsh/custom/themes/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/dot_config/oh-my-zsh/custom/themes/symlink_powerlevel10k.zsh-theme b/dot_config/oh-my-zsh/custom/themes/symlink_powerlevel10k.zsh-theme deleted file mode 100644 index f50384c..0000000 --- a/dot_config/oh-my-zsh/custom/themes/symlink_powerlevel10k.zsh-theme +++ /dev/null @@ -1 +0,0 @@ -/usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme \ No newline at end of file diff --git a/dot_config/polybar/.keep b/dot_config/polybar/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/dot_config/polybar/config b/dot_config/polybar/config deleted file mode 100644 index a7d0cdb..0000000 --- a/dot_config/polybar/config +++ /dev/null @@ -1,604 +0,0 @@ -;===================================================== -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;===================================================== -[colors] -background = ${xrdb:color0:#222} -foreground = ${xrdb:color7:#222} -background-alt = ${xrdb:color10:#222} -foreground-alt = ${xrdb:color4:#222} -icon-color = ${xrdb:color4:#FF2} -primary = ${xrdb:color1:#222} -alert = ${xrdb:color10:#222} -secondary = ${xrdb:color10:#222} -; let's get some colors from xrdb (pywal) -col0 = ${xrdb:color0:#222} -col1 = ${xrdb:color1:#222} -col2 = ${xrdb:color2:#222} -col3 = ${xrdb:color3:#222} -col4 = ${xrdb:color4:#222} -col5 = ${xrdb:color5:#222} -col6 = ${xrdb:color6:#222} -col7 = ${xrdb:color7:#222} -col8 = ${xrdb:color8:#222} -col9 = ${xrdb:color9:#222} -col10 = ${xrdb:color10:#222} -col11 = ${xrdb:color11:#222} -col12 = ${xrdb:color12:#222} -col13 = ${xrdb:color13:#222} -gruvbg = ${xrdb:background:#222} -gruvbghard = ${xrdb:backgroundhard:#222} -gruvbgsoft = ${xrdb:backgroundsoft:#222} -gruvfg = ${xrdb:foreground:#222} -; control some of the later elements from here, nice and tidy -underline-cpu = ${xrdb:color2:#222} -underline-memory = ${xrdb:color3:#222} -underline-date = ${xrdb:color4:#222} -underline-battery = ${xrdb:color5:#222} -underline-temperature = ${xrdb:color6:#222} -underline-keyboard = ${xrdb:color7:#222} -underline-i3-focused = ${xrdb:color10:#222} -underline-i3-unfocused = ${xrdb:color8:#222} - -[bar/general] -width = 100% - -; spaces before/after each module -module-margin-left = 1 -module-margin-right = 1 - -height = 27 -fixed-center = true -line-size = 3 -line-color = #f00 - -; rounded corners of the bar -radius = 0.0 - -;this makes sure that i3 doesn't reposition everything when polybar becomes active... is shit -override-redirect = false -wm-restack = i3 -; all the bar colors -background = ${colors.background} -foreground = ${colors.foreground} -border-color = ${colors.background} - -; spaces on begin/end of bar -padding-left = 2 -padding-right = 2 - -; set the bar fonts -;font-0 = fixed:pixelsize=10;1 -;font-0 = "Wuncon Siji:pixelsize=15;1" -;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 -;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1" -font-0 = FuraCode Nerd Font:pixelsize=11;1 - -; override pointers -cursor-click = pointer -cursor-scroll = pointer - -[bar/example] -inherit = bar/general -monitor = ${env:MONITOR:eDP-1} -;offset-x = 2% -;offset-y = 1% -;i'm faking the left and right margins with a fat border. i'm helpless -;border-size = 20 -;border-left-size = 16 -;border-right-size = 16 - -;unused modules - mpd xbacklight backlight-acpi alsa -modules-left = i3 -modules-center = temperature battery xkeyboard memory cpu filesystem updates-arch reboot-check xbacklight top-process -modules-right = net1 wifi0 vpn powermenu - -; TRAY MANAGEMENT -;tray-position = right -tray-position = ${env:TRAY_POSITION:none} -;tray-transparent = true -tray-detached = false -tray-maxsize = 16 -;tray-background = ${colors.background-alt} -;this makes sure that the tray doesn't run off to the right of the monitor - only enable this when the bar's width is a bit off -tray-offset-x = 0 -tray-offset-y = 27 -tray-padding = 2 -tray-scale = 1.0 - -scroll-up = i3wm-wsnext -scroll-down = i3wm-wsprev - -cursor-click = pointer -;cursor-scroll = ns-resize -cursor-scroll = pointer - -[bar/secondary] -inherit = bar/general -monitor = ${env:MONITOR:eDP-1} -;offset-x = 2% -;offset-y = 1% - -;unused modules - mpd xbacklight backlight-acpi alsa -modules-right = pulseaudio -modules-center = player-mpris-tail -modules-left = date info-hackspeed - -[module/player-mpris-tail] -type = custom/script -exec = ~/.config/polybar/polybar-scripts/polybar-scripts/player-mpris-tail/player-mpris-tail.py -f '{icon} {artist} - {title}' --icon-playing  --icon-paused  --icon-stopped  --icon-none ﱙ -tail = true -label = %output% - -[module/info-hackspeed] -type = custom/script -format-prefix = " " -format-prefix-foreground = ${colors.icon-color} -exec = ~/.config/polybar/polybar-scripts/polybar-scripts/info-hackspeed/info-hackspeed.sh -tail = true - -[module/top-process] -type = custom/script -format-prefix = " " -format-prefix-foreground = ${colors.icon-color} -format-underline = ${colors.alert} -interval = 5 -exec = ~/.dotfiles/scripts/top.process.sh -tail = true - -[module/xwindow] -type = internal/xwindow -label = %title:0:30:...% - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -format-prefix = " " -format-prefix-foreground = ${colors.icon-color} -format-prefix-underline = ${colors.underline-keyboard} - -; layout, number, name -label-layout = %layout% -label-layout-underline = ${colors.underline-keyboard} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.underline-keyboard} - -cursor-click = pointer - - -[module/vpn] -type = custom/script -exec = nmcli | grep "VPN connection" | sed -e "s/VPN connection//g" -exec-if = pgrep -x openvpn -interval = 5 -format-underline = #268bd2 -format-prefix = " " -format-prefix-foreground = ${colors.col1} - - -[module/filesystem] -type = internal/fs -interval = 25 -mount-0 = / -mount-1 = /mnt/ext4 -label-mounted = %{F#0a81f5}%mountpoint%%{F-} %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground-alt} - -[module/bspwm] -type = internal/bspwm - -label-focused = %index% -label-focused-background = ${colors.background-alt} -label-focused-underline= ${colors.primary} -label-focused-padding = 2 - -label-occupied = %index% -label-occupied-padding = 2 - -label-urgent = %index%! -label-urgent-background = ${colors.alert} -label-urgent-padding = 2 - -label-empty = %index% -label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 - -; Separator in between workspaces -; label-separator = | - - - -[module/i3] -type = internal/i3 -format = -index-sort = true -wrapping-scroll = false - -; Only show workspaces on the same output as the bar -pin-workspaces = true - -; This will split the workspace name on ':' -; Default: false -strip-wsnumbers = true - -; using siji icons... see view.sh for codes -; not using siji anymore, check out nerdfonts.com! -;   -ws-icon-0 = 1:1; -ws-icon-1 = 2:2; -ws-icon-2 = 3:3; -ws-icon-3 = 4:4; -ws-icon-4 = 5:5; -ws-icon-5 = 6:6; -ws-icon-6 = 7:7; -ws-icon-7 = 8:8; -ws-icon-8 = 9:9;﬐ -ws-icon-9 = 10:10; -ws-icon-10 = 11:; -ws-icon-11 = 12:; -ws-icon-default =  - -; Whenever the 'move' changes... like 'resize', ... -label-mode-padding = 2 -label-mode-foreground = ${colors.gruvfg} -;label-mode-background = ${colors.primary} -label-mode-background = ${colors.col4} -label-mode-underline = ${colors.col12} - -; focused = Active workspace on focused monitor -label-focused = %icon% %name% -;label-focused = %index% -;label-focused-background = ${module/bspwm.label-focused-background} -;label-focused-underline = ${module/bspwm.label-focused-underline} -;label-focused-padding = ${module/bspwm.label-focused-padding} -label-focused-background = ${colors.col2} -label-focused-foreground = ${colors.gruvbghard} -label-focused-underline = ${colors.underline-i3-focused} -label-focused-padding = 2 - -; unfocused = Inactive workspace on any monitor -;label-unfocused = %index% -label-unfocused = %icon% %name% -label-unfocused-underline = ${colors.underline-i3-unfocused} -;label-unfocused-padding = ${module/bspwm.label-occupied-padding} -label-unfocused-padding = 2 - -; visible = Active workspace on unfocused monitor -; label-visible = %index% -label-visible = %icon% %name% -;label-visible-background = ${self.label-focused-background} -;label-visible-underline = ${self.label-focused-underline} -;label-visible-padding = ${self.label-focused-padding} -label-visible-background = ${colors.col12} -label-visible-foreground = ${colors.gruvbghard} -label-visible-underline = #FFFFFF -label-visible-padding = 2 - -; urgent = Workspace with urgency hint set -label-urgent = %icon% %name% -; label-urgent-background = ${module/bspwm.label-urgent-background} -label-urgent-background = ${colors.col1} -label-urgent-foreground = ${colors.col9} -label-urgent-underline = ${colors.col9} -label-urgent-padding = 2 - -; Separator in between workspaces -; label-separator = | - - -[module/mpd] -type = internal/mpd -format-online = - -icon-prev = 玲 -icon-stop =  -icon-play =  -icon-pause =  -icon-next = 怜 - -label-song-maxlen = 25 -label-song-ellipsis = true - -[module/xbacklight] -type = internal/xbacklight - -format =