Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e203b188d | ||
|
|
ecf01dad51 | ||
|
|
7902fe531e |
+4
-2
@@ -5,6 +5,8 @@ alias wtr="wt remove @"
|
|||||||
alias ll="eza -l -g --icons"
|
alias ll="eza -l -g --icons"
|
||||||
alias ls="eza -al --color=always --group-directories-first"
|
alias ls="eza -al --color=always --group-directories-first"
|
||||||
alias g="git"
|
alias g="git"
|
||||||
alias neogit="nvim +Neogit"
|
alias ngit="nvim +Neogit"
|
||||||
alias zdiff="nvim +Zdiff"
|
alias zdiff="nvim +Zdiff"
|
||||||
alias review="nvim '+Zdiff origin/HEAD'"
|
alias review="nvim +'Zdiff origin/HEAD'"
|
||||||
|
alias wm="workmux"
|
||||||
|
alias wmd="workmux dashboard"
|
||||||
|
|||||||
+20
-11
@@ -11,30 +11,39 @@ append_path "$HOME/.local/bin"
|
|||||||
append_path "$HOME/.cargo/bin"
|
append_path "$HOME/.cargo/bin"
|
||||||
|
|
||||||
export PATH
|
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)"
|
eval "$(mise activate bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ test -x $(command -v zoxide) ]; then
|
if [ -x $(command -v zoxide) ]; then
|
||||||
eval "$(zoxide init bash)"
|
eval "$(zoxide init bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ test -x $(command -v fzf) ]; then
|
if [ -x $(command -v fzf) ]; then
|
||||||
eval "$(fzf --bash)"
|
eval "$(fzf --bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$SSH_CONNECTION" ]; then
|
if [ -x $(command -v wt) ]; then
|
||||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
eval "$(command wt config shell init bash)";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a predictable symlink pointing to the current SSH auth socket
|
if [ -n "$SSH_CONNECTION" ]; then
|
||||||
auth_sock="$HOME/.ssh/ssh_auth_sock"
|
# Create a predictable symlink pointing to the current SSH auth socket
|
||||||
if [ -n "$SSH_AUTH_SOCK" ] && [ "$SSH_AUTH_SOCK" != "$auth_sock" ]; then
|
auth_sock="$HOME/.ssh/ssh_auth_sock"
|
||||||
mkdir -p "$HOME/.ssh"
|
if [ -n "$SSH_AUTH_SOCK" ] && [ "$SSH_AUTH_SOCK" != "$auth_sock" ]; then
|
||||||
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
|
fi
|
||||||
|
|
||||||
for _f in "$HOME"/.config/herdr/plugins/github/herdr-automatic-rename-*/shell/hook.bash; do
|
for _f in "$HOME"/.config/herdr/plugins/github/herdr-automatic-rename-*/shell/hook.bash; do
|
||||||
[ -r "$_f" ] && { source "$_f"; break; }
|
[ -r "$_f" ] && { source "$_f"; break; }
|
||||||
done
|
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'
|
'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]
|
[tasks.setup_nvim]
|
||||||
run = [
|
run = [
|
||||||
'uv tool install vectorcode'
|
'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