From 6a90180ba120ea7ff87c82f29aae4ef71bb17ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Bystriansky?= Date: Mon, 11 Sep 2023 23:23:52 +0200 Subject: [PATCH] Pridanie .goto --- .bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc b/.bashrc index 921ee6c..d1c086f 100644 --- a/.bashrc +++ b/.bashrc @@ -164,6 +164,11 @@ if [ -d "$HOME/.cargo/bin" ] ; then export PATH="$HOME/.cargo/bin:$PATH" fi +# symbolický link do zložky pre rýchly pohyb v zložkách +if [ -d "$HOME/.goto" ]; then + export CDPATH=".:$HOME/.goto:/" + alias goto="cd -P" +fi ##TMUX pre automatické spustenie -> touch ~/.tmux.auto if [ -f ~/.tmux.auto ]; then