2019-10-26 17:05:31 +00:00
|
|
|
# zsh key timeout
|
|
|
|
export KEYTIMEOUT=1
|
|
|
|
|
2019-11-11 06:31:15 +00:00
|
|
|
# prompt customization
|
|
|
|
export PURE_PROMPT_SYMBOL="λ"
|
|
|
|
export PURE_PROMPT_VICMD_SYMBOL="y"
|
|
|
|
|
2019-10-26 17:05:31 +00:00
|
|
|
# zsh history settings
|
|
|
|
export HISTFILE=~/.zsh_history
|
|
|
|
export HISTSIZE=1000
|
|
|
|
export SAVEHIST=1000
|
|
|
|
|
2020-01-13 07:26:51 +00:00
|
|
|
# Variable to pass to sdotdrop to get current user
|
|
|
|
export USRNAME=$USER
|
|
|
|
|
2019-10-26 17:05:31 +00:00
|
|
|
# go path
|
|
|
|
export GOPATH=~/.bin/go
|
|
|
|
|
|
|
|
# fzf settings
|
|
|
|
export FZF_DEFAULT_COMMAND='rg --files --hidden 2>/dev/null'
|
|
|
|
export FZF_COMPLETION_TRIGGER='**'
|
|
|
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
2020-01-09 13:10:28 +00:00
|
|
|
export FZF_ALT_C_COMMAND='rg --hidden --files --null --sort path 2>/dev/null | xargs -0 dirname | uniq'
|
2019-10-26 17:05:31 +00:00
|
|
|
|
|
|
|
# use lesspipe with less
|
|
|
|
export LESSOPEN="|lesspipe.sh %s"
|
|
|
|
|
|
|
|
# dotdrop repository location
|
|
|
|
export DOTREPO="$HOME/Git/dotfiles"
|
|
|
|
|
|
|
|
# nvim ftw!
|
|
|
|
export EDITOR=nvim
|
|
|
|
export PAGER="nvimpager -p"
|
|
|
|
|
2019-10-27 09:34:23 +00:00
|
|
|
{%@@ if profile == "Mirkwood" @@%}
|
2019-10-26 17:05:31 +00:00
|
|
|
# use gpg for ssh
|
|
|
|
export GPG_TTY="$(tty)"
|
|
|
|
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
|
|
|
gpg-connect-agent updatestartuptty /bye > /dev/null
|
2019-10-27 09:34:23 +00:00
|
|
|
{%@@ endif @@%}
|
2019-10-26 17:05:31 +00:00
|
|
|
|
|
|
|
# tehfuk
|
|
|
|
eval $(thefuck --alias)
|