Added uutils-coreutils aliases

This commit is contained in:
GaspardCulis 2023-10-23 09:32:17 +02:00
parent 322539e18f
commit 49f2151843
2 changed files with 17 additions and 0 deletions

View file

@ -15,3 +15,19 @@ alias life-pull="rsync -r pixel:~/storage/shared/Documents/Obsidian/Life/ ~/Docu
# Config
alias editconf-i3="hx ~/.config/i3"
# Generic stuff
alias ls="ls --color=auto"
alias ip="ip --color=auto"
# uutils-coreutils aliases
if command -v pacman &> /dev/null; then
if pacman -Qi uutils-coreutils &> /dev/null; then
for b in $(yay -Ql uutils-coreutils | grep bin | cut -d ' ' -f 2 | cut -d '/' -f 4 | cut -d '-' -f 2); do
alias $b="uu-$b"
done
unalias [
alias ls="uu-ls --color=auto"
fi
fi

1
sync
View file

@ -23,6 +23,7 @@ synced_files = [
('term/alacritty/', '~/.config/alacritty/'),
('bar/waybar/', '~/.config/waybar/'),
('misc/picom/', '~/.config/picom/'),
('misc/runst/', '~/.config/runst/'),
('bin/swaylock-hyprland', '~/.local/bin/swaylock-hyprland'),
('bin/Hyprland', '~/.local/bin/Hyprland'),