mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
Compare commits
2 Commits
c197a6b4d3
...
2bac4dd8c4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bac4dd8c4 | ||
|
|
78b0463b51 |
@@ -7,6 +7,11 @@ export LANG=en_US.UTF-8
|
||||
# Prefered programs
|
||||
export EDITOR='vim'
|
||||
|
||||
# Force ssh/ssh-add to always prompt for passphrases in the terminal. On WSL,
|
||||
# DISPLAY is set (WSLg) and the ssh-askpass package is installed, so without
|
||||
# this OpenSSH prefers popping up a GUI askpass dialog instead of asking here.
|
||||
export SSH_ASKPASS_REQUIRE='never'
|
||||
|
||||
if type bat > /dev/null; then
|
||||
export MANPAGER='bat -plman'
|
||||
export PAGER='bat'
|
||||
|
||||
13
dot_zshrc
13
dot_zshrc
@@ -12,7 +12,18 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
autoload -U +X compinit && compinit # fix compdef not found
|
||||
# Load compdef immediately (needed before antidote loads plugins that call
|
||||
# it), but only do the expensive security audit + dump rebuild once a day;
|
||||
# otherwise just source the existing dump (-C).
|
||||
autoload -U +X compinit
|
||||
() {
|
||||
setopt local_options extended_glob
|
||||
if [[ -n ${HOME}/.zcompdump(#qN.mh+24) ]]; then
|
||||
compinit
|
||||
else
|
||||
compinit -C 2>/dev/null || compinit
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -f $HOME/.zshrc_local ]; then
|
||||
source $HOME/.zshrc_local
|
||||
|
||||
Reference in New Issue
Block a user