add grep alias + diff on archwsl

This commit is contained in:
Mylloon 2022-11-15 20:58:16 +01:00
parent 3f771eb166
commit e9c928c758
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 1 deletions

View file

@ -135,6 +135,7 @@ main() {
fish -c "abbr yay-rebuild 'checkrebuild | awk \'{print \$2}\' | xargs -r yay -S --rebuildtree --noconfirm'"
fish -c "abbr pacman-clean 'sudo pacman -Rsn \$(pacman -Qqtd) --noconfirm'"
fish -c "abbr diff 'delta'"
fish -c "abbr grep 'grep -Irni \'txt\' .'"
# Fish by default in terminal app
local profil
profil=$(gsettings get org.gnome.Terminal.ProfilesList list)

View file

@ -29,7 +29,7 @@ main() {
fish autoconf valgrind automake python-virtualenv gdb \
tk sdl2_mixer exa texlive-most fzf glu man-pages-fr \
neofetch python-pip opam pacman-contrib cpanminus \
unison rebuild-detector sdl2_ttf
unison rebuild-detector git-delta sdl2_ttf
# === Colors package manager ==
sed -i "s/#Color/Color/g" /etc/pacman.conf
@ -148,6 +148,8 @@ main() {
fish -c "abbr opamupdate 'opam update && opam upgrade -y'"
fish -c "abbr yay-rebuild 'checkrebuild | awk \'{print \$2}\' | xargs -r yay -S --rebuildtree --noconfirm'"
fish -c "abbr pacman-clean 'sudo pacman -Rsn \$(pacman -Qqtd) --noconfirm'"
fish -c "abbr diff 'delta'"
fish -c "abbr grep 'grep -Irni \'txt\' .'"
# === Micro configuration ==
git config --global core.editor "micro"