mirror of
https://github.com/HerrCraziDev/dotfiles.git
synced 2025-12-13 09:36:16 +01:00
merge stash
This commit is contained in:
1
.aliases
1
.aliases
@@ -58,3 +58,4 @@ sumgnt() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
alias shmgnt="sshpass -p ekitool ssh"
|
alias shmgnt="sshpass -p ekitool ssh"
|
||||||
|
alias sutom="cat ~/mots.txt | sed 's/[éèëê]/e/g' | sed 's/[àâä]/a/g' | sed 's/[ïî]/i/g'"
|
||||||
|
|||||||
12
.termrc
12
.termrc
@@ -22,6 +22,14 @@ function chkinst {
|
|||||||
command -v $1 &>/dev/null
|
command -v $1 &>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Enable SSH keyring when kwallet is unavailable
|
||||||
|
if chkinst keychain && [ -n "$WSLENV"] || [ -n "$SSH_CLIENT" ] || [ -n "$SSH2_CLIENT" ]; then
|
||||||
|
# Load SSH keychain
|
||||||
|
keychain -q --nogui ~/.ssh/id_rsa
|
||||||
|
source ~/.keychain/${HOST}-sh
|
||||||
|
#source ~/.keychain/${HOST}-sh-gpg
|
||||||
|
fi
|
||||||
|
|
||||||
# Add Rust crates to path
|
# Add Rust crates to path
|
||||||
chkinst rust && export PATH=$PATH:$HOME/.cargo/bin
|
chkinst rust && export PATH=$PATH:$HOME/.cargo/bin
|
||||||
|
|
||||||
@@ -72,10 +80,6 @@ echo -e '\e[34m [termrc] Config reloaded\e[0m'
|
|||||||
if [ -n "$WSLENV" ] ; then
|
if [ -n "$WSLENV" ] ; then
|
||||||
printf '\e[34m [termrc] Running on WSL\e[0m\n'
|
printf '\e[34m [termrc] Running on WSL\e[0m\n'
|
||||||
|
|
||||||
# Load SSH keychain
|
|
||||||
/usr/bin/keychain -q --nogui $HOME/.ssh/id_rsa
|
|
||||||
source "$HOME/.keychain/$HOST-sh"
|
|
||||||
|
|
||||||
# Enable entr workaround for incomplete inotify support on WSL
|
# Enable entr workaround for incomplete inotify support on WSL
|
||||||
export ENTR_INOTIFY_WORKAROUND=1
|
export ENTR_INOTIFY_WORKAROUND=1
|
||||||
|
|
||||||
|
|||||||
2
.zshrc
2
.zshrc
@@ -69,6 +69,6 @@ bindkey -e
|
|||||||
# Disable zsh globbing error messages, leave it to the called program
|
# Disable zsh globbing error messages, leave it to the called program
|
||||||
setopt +o nomatch
|
setopt +o nomatch
|
||||||
|
|
||||||
# Set immediate completion
|
# Enable immediate completion (also remove '_list' from zstyle completion section above)
|
||||||
setopt menu_complete
|
setopt menu_complete
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user