Merge branch 'main' of codeberg.org:aleidk/dots
This commit is contained in:
commit
59004c4ac4
22 changed files with 5840 additions and 10 deletions
|
|
@ -51,3 +51,12 @@ help() {
|
|||
fzf-jq() {
|
||||
echo '' | fzf --print-query --preview="jq -r {q} <$@"
|
||||
}
|
||||
|
||||
function ya() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXX")"
|
||||
yazi "$@" --cwd-file="$tmp"
|
||||
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||
cd -- "$cwd"
|
||||
fi
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,10 @@ update_path "$HOME/.local/share/rtx/shims"
|
|||
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
if [[ "$DOTS/config/zsh/zprofile.local" -e ]]; then
|
||||
source "$DOTS/config/zsh/zprofile.local"
|
||||
fi
|
||||
|
||||
if [[ $OSTYPE =~ 'darwin' ]]; then
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -108,6 +108,6 @@ if [[ "$ZPROF" = true ]]; then
|
|||
fi
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
eval "$(rtx activate zsh)"
|
||||
# eval "$(zellij setup --generate-auto-start zsh)"
|
||||
eval "$(zoxide init zsh)"
|
||||
eval "$(mise activate zsh)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue