aaaaa
This commit is contained in:
parent
e640429588
commit
e4ccc78fef
4 changed files with 14 additions and 6 deletions
|
@ -22,3 +22,7 @@ else
|
||||||
alias clip="xclip -selection clipboard"
|
alias clip="xclip -selection clipboard"
|
||||||
fi
|
fi
|
||||||
alias 2fa="TOKEN=\$(yad --title=\"Authy\" --text=\"What code would you like to copy?\" --entry) && mambembe-cli get-token --service-name \$TOKEN | tr -dc '0-9' | clip"
|
alias 2fa="TOKEN=\$(yad --title=\"Authy\" --text=\"What code would you like to copy?\" --entry) && mambembe-cli get-token --service-name \$TOKEN | tr -dc '0-9' | clip"
|
||||||
|
ytp() { AUDIOFILE="$(mktemp -u)" && yt-dlp --default-search ytsearch "$@" -f ba --output $AUDIOFILE && cvlc $AUDIOFILE --play-and-exit && rm $AUDIOFILE }
|
||||||
|
zshdir() {
|
||||||
|
zsh -c "cd $@; zsh -i"
|
||||||
|
}
|
||||||
|
|
|
@ -7,6 +7,9 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
|
### Load nvm (node version manager)
|
||||||
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
#---------------------------------------------------------------------------------#
|
||||||
### Add things to PATH
|
### Add things to PATH
|
||||||
path+=("$HOME/.pyenv/bin")
|
path+=("$HOME/.pyenv/bin")
|
||||||
path+=("$HOME/.local/bin")
|
path+=("$HOME/.local/bin")
|
||||||
|
@ -16,15 +19,14 @@ export PATH
|
||||||
#--------------------------------------------------------------------------------#
|
#--------------------------------------------------------------------------------#
|
||||||
### Zsh config
|
### Zsh config
|
||||||
# Configure command history saving
|
# Configure command history saving
|
||||||
HISTFILE=~/.zsh_history # Sets history file
|
HISTFILE="$HOME/.zsh_history"
|
||||||
HISTSIZE=1000 # Sets lines to save history for
|
HISTSIZE=500000
|
||||||
SAVEHIST=1000 # Sets lines to save history for
|
SAVEHIST=500000
|
||||||
|
setopt INC_APPEND_HISTORY
|
||||||
|
setopt SHARE_HISTORY
|
||||||
# Configure emacs keys
|
# Configure emacs keys
|
||||||
bindkey -e
|
bindkey -e
|
||||||
#---------------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------------#
|
||||||
### Load nvm (node version manager)
|
|
||||||
source /usr/share/nvm/init-nvm.sh
|
|
||||||
#---------------------------------------------------------------------------------#
|
|
||||||
### Load pyenv
|
### Load pyenv
|
||||||
if ls "$HOME/.pyenv" &> /dev/null; then
|
if ls "$HOME/.pyenv" &> /dev/null; then
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
|
|
@ -14,6 +14,8 @@ Plug 'neoclide/coc.nvim', { 'branch': 'release' } " Language server support
|
||||||
Plug 'tommcdo/vim-lion' " Allow aligning code by an amount of chars
|
Plug 'tommcdo/vim-lion' " Allow aligning code by an amount of chars
|
||||||
Plug 'Shirk/vim-gas' " GNU syntax support
|
Plug 'Shirk/vim-gas' " GNU syntax support
|
||||||
Plug 'ntpeters/vim-better-whitespace' " Shows whitespace at the end of lines
|
Plug 'ntpeters/vim-better-whitespace' " Shows whitespace at the end of lines
|
||||||
|
Plug 'chrisbra/SudoEdit.vim' " Allow editing root files
|
||||||
|
Plug 'mg979/vim-visual-multi', {'branch': 'master'} " Multi curser vim
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Get syntax files from config folder
|
" Get syntax files from config folder
|
||||||
|
|
BIN
main.knsv
BIN
main.knsv
Binary file not shown.
Reference in a new issue