changed default behaviour for gcd. now lists all dirs wihtout args
This commit is contained in:
@@ -184,8 +184,9 @@ function gcd() {
|
||||
local cdto
|
||||
{ cdto=$( python -c '
|
||||
import sys,os,re
|
||||
if len(sys.argv)==1:
|
||||
if len(sys.argv)==1 or sys.argv[-1]=="-h":
|
||||
print("Arguments: [dir/]pattern_to_match_folders")
|
||||
if sys.argv[-1]=="-h":
|
||||
sys.exit(0)
|
||||
def G():
|
||||
return "\033[32;1m"
|
||||
|
||||
Reference in New Issue
Block a user