From d1c86ea041489852cc411260a250a6844a00d7be Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Wed, 18 Sep 2024 18:25:19 -0300 Subject: [PATCH] Make ls look for .hidden file --- dot_bash_alias.sh | 10 ++++++++++ dot_bash_setup.sh | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 dot_bash_alias.sh create mode 100644 dot_bash_setup.sh diff --git a/dot_bash_alias.sh b/dot_bash_alias.sh new file mode 100644 index 0000000..b068947 --- /dev/null +++ b/dot_bash_alias.sh @@ -0,0 +1,10 @@ +function ls() { + if [[ -f .hidden ]]; then + exa --icons --long --ignore-glob="$(cat .hidden | tr '\n' '|')" + else + exa --icons --long + fi +} +alias grep="ugrep" +alias cd="z" +alias cat="bat -p" diff --git a/dot_bash_setup.sh b/dot_bash_setup.sh new file mode 100644 index 0000000..5d3e670 --- /dev/null +++ b/dot_bash_setup.sh @@ -0,0 +1,5 @@ +# Initialize zoxide +eval "$(zoxide init bash)" + +# Add JetBrains scripts to path +export PATH="$PATH:/home/isaac/.local/share/JetBrains/Toolbox/scripts" \ No newline at end of file