yazi now aliased to y in shell
parent
8630d34586
commit
04f3b5b393
9
.bashrc
9
.bashrc
|
|
@ -26,6 +26,15 @@ alias cls="clear"
|
|||
|
||||
alias t="wd"
|
||||
|
||||
function y() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||
yazi "$@" --cwd-file="$tmp"
|
||||
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||
builtin cd -- "$cwd"
|
||||
fi
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
eval "$(starship init bash)"
|
||||
|
||||
fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt
|
||||
|
|
|
|||
9
.zshrc
9
.zshrc
|
|
@ -129,6 +129,15 @@ alias cls="clear"
|
|||
|
||||
alias t="wd"
|
||||
|
||||
function y() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||
yazi "$@" --cwd-file="$tmp"
|
||||
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||
builtin cd -- "$cwd"
|
||||
fi
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ input {
|
|||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
#left_handed = true
|
||||
left_handed = true
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
|
@ -184,6 +184,12 @@ input {
|
|||
}
|
||||
}
|
||||
|
||||
input{
|
||||
tablet {
|
||||
active_area_size = 276.48 155.52
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue