From 1a16b1861b5f0f3231dd6d4bfcad5a2444250cbe Mon Sep 17 00:00:00 2001 From: _N3m0 Date: Fri, 15 Dec 2023 14:28:19 +0100 Subject: [PATCH] fix dev / cours --- bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 1625ac0..f891570 100644 --- a/bashrc +++ b/bashrc @@ -126,8 +126,8 @@ alias kys="shut" # alias avec parametre emoji(){ grep -i $1 ~/documents/emoji; } -dev(){ [ -z $1 ] && cd ~/dev/*$1* || cd ~/dev/ ;} -cours(){ [ -z $1 ] && cd ~/cours/*$1* || cd ~/cours/;} +dev(){ [ -z $1 ] && cd ~/dev/ || cd ~/dev/*$1* ;} +cours(){ [ -z $1 ] && cd ~/cours/ || cd ~/cours/*$1* ;} lsd(){ ls -d $1*/;} lsf(){ ls -p $1 | grep -v /$;} ls..(){ ls $1..;}