From bd79e38bf10f25bc3dcd543ce204217402f3e3d4 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 19 Jan 2024 00:45:12 +0100 Subject: [PATCH] do not show icons on wsl since it could increase significantly the loading time due to smb share --- .config/fish/conf.d/abbr.fish | 1 - .config/fish/conf.d/abbr_arch.fish | 1 + .config/fish/conf.d/abbr_wsl.fish | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish index 0bc2c04..3ab200e 100644 --- a/.config/fish/conf.d/abbr.fish +++ b/.config/fish/conf.d/abbr.fish @@ -13,7 +13,6 @@ abbr cl "cat src/**.* | sed '/^\s*\$/d' | wc -l" # Count lines of code without n abbr cp "cp -rv" abbr diff difft abbr mgrep "grep -Iirnw 'text' ." # Find anything inside files of current directory -abbr ls "eza --git --icons -gl" abbr mgcc "clear; gcc -Wall -Wextra -Wconversion -Wdouble-promotion -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -fsanitize-undefined-trap-on-error -g3 main.c && ./*.out" abbr mg++ "clear; g++ -Wall -Wextra -Wdouble-promotion -Wshadow -Wnon-virtual-dtor -pedantic -g3 -Wold-style-cast -Wsign-conversion main.cpp && ./*.out" abbr mmake "make clean && clear; make && ./*.out" diff --git a/.config/fish/conf.d/abbr_arch.fish b/.config/fish/conf.d/abbr_arch.fish index cfaa74e..d4d44c0 100644 --- a/.config/fish/conf.d/abbr_arch.fish +++ b/.config/fish/conf.d/abbr_arch.fish @@ -6,3 +6,4 @@ abbr xclip "xclip -selection clipboard" abbr spotx "bash -c 'bash <(curl -sSL https://raw.githubusercontent.com/SpotX-CLI/SpotX-Linux/main/install.sh) -ceP $HOME/.local/share/spotify-launcher/install/usr/share/spotify/'" abbr rm "trash -f" abbr catall "find . -name '*.ext1' -o -name '*.ext2' | xargs cat | xclip -selection clipboard" +abbr ls "eza --git --icons -gl" diff --git a/.config/fish/conf.d/abbr_wsl.fish b/.config/fish/conf.d/abbr_wsl.fish index 373a278..0c61e2a 100644 --- a/.config/fish/conf.d/abbr_wsl.fish +++ b/.config/fish/conf.d/abbr_wsl.fish @@ -4,3 +4,4 @@ abbr vs "code ." abbr wgcc x86_64-w64-mingw32-gcc abbr rm "rm -rf" abbr catall "find . -name '*.ext1' -o -name '*.ext2' | xargs cat | clip.exe" +abbr ls "eza --git -gl"