Compare commits
3
Commits
bb9f74b7cf
...
0e203b188d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e203b188d | ||
|
|
ecf01dad51 | ||
|
|
7902fe531e |
+4
-2
@@ -5,6 +5,8 @@ alias wtr="wt remove @"
|
||||
alias ll="eza -l -g --icons"
|
||||
alias ls="eza -al --color=always --group-directories-first"
|
||||
alias g="git"
|
||||
alias neogit="nvim +Neogit"
|
||||
alias ngit="nvim +Neogit"
|
||||
alias zdiff="nvim +Zdiff"
|
||||
alias review="nvim '+Zdiff origin/HEAD'"
|
||||
alias review="nvim +'Zdiff origin/HEAD'"
|
||||
alias wm="workmux"
|
||||
alias wmd="workmux dashboard"
|
||||
|
||||
+16
-7
@@ -11,30 +11,39 @@ append_path "$HOME/.local/bin"
|
||||
append_path "$HOME/.cargo/bin"
|
||||
|
||||
export PATH
|
||||
if [ -x $(command -v bat) ]; then
|
||||
export PAGER="bat"
|
||||
fi
|
||||
|
||||
if [ test -x $(command -v mise) ]; then
|
||||
if [ -x $(command -v mise) ]; then
|
||||
eval "$(mise activate bash)"
|
||||
fi
|
||||
|
||||
if [ test -x $(command -v zoxide) ]; then
|
||||
if [ -x $(command -v zoxide) ]; then
|
||||
eval "$(zoxide init bash)"
|
||||
fi
|
||||
|
||||
if [ test -x $(command -v fzf) ]; then
|
||||
if [ -x $(command -v fzf) ]; then
|
||||
eval "$(fzf --bash)"
|
||||
fi
|
||||
|
||||
if [ -z "$SSH_CONNECTION" ]; then
|
||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||
if [ -x $(command -v wt) ]; then
|
||||
eval "$(command wt config shell init bash)";
|
||||
fi
|
||||
|
||||
if [ -n "$SSH_CONNECTION" ]; then
|
||||
# Create a predictable symlink pointing to the current SSH auth socket
|
||||
auth_sock="$HOME/.ssh/ssh_auth_sock"
|
||||
if [ -n "$SSH_AUTH_SOCK" ] && [ "$SSH_AUTH_SOCK" != "$auth_sock" ]; then
|
||||
mkdir -p "$HOME/.ssh"
|
||||
ln -sf "$SSH_AUTH_SOCK" "$auth_sock"
|
||||
mkdir -p "$HOME/.ssh" && ln -snf "$SSH_AUTH_SOCK" "$auth_sock"
|
||||
fi
|
||||
else
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
fi
|
||||
|
||||
for _f in "$HOME"/.config/herdr/plugins/github/herdr-automatic-rename-*/shell/hook.bash; do
|
||||
[ -r "$_f" ] && { source "$_f"; break; }
|
||||
done
|
||||
|
||||
[[ -f ~/.bash_aliases ]] && . ~/.bash_aliases
|
||||
|
||||
|
||||
@@ -50,6 +50,14 @@ run = [
|
||||
'test -x /usr/bin/pass && /usr/bin/pass show config/pi/auth.json > ~/.pi/agent/auth.json'
|
||||
]
|
||||
|
||||
[tasks.setup_fish]
|
||||
run = '''
|
||||
if [ -x /usr/bin/fish ]; then
|
||||
chsh -s /usr/bin/fish
|
||||
fish -c "fisher install franciscolourenco/done"
|
||||
fi
|
||||
'''
|
||||
|
||||
[tasks.setup_nvim]
|
||||
run = [
|
||||
'uv tool install vectorcode'
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user