updated dotfiles, fixed install scripts, added missing packages
This commit is contained in:
+6
-1
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
## Functions
|
||||
# Yazi
|
||||
function ya() {
|
||||
function y() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXX")"
|
||||
yazi "$@" --cwd-file="$tmp"
|
||||
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||
@@ -21,6 +21,11 @@ function ya() {
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
# Chezmoi apply changes from current chezmoi DIR
|
||||
function ca() {
|
||||
chezmoi apply "$(chezmoi target-path "${1:-.}")"
|
||||
}
|
||||
|
||||
## Aliases
|
||||
# Replace ls with eza
|
||||
if [ -f /usr/bin/eza ]; then
|
||||
|
||||
Reference in New Issue
Block a user