Przeglądaj źródła

there is no prompt.sh

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41722 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 lat temu
rodzic
commit
27769acde1
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      lib/init/grass.py

+ 1 - 2
lib/init/grass.py

@@ -710,8 +710,7 @@ def bash_startup():
     f = open(bashrc, 'w')
     f = open(bashrc, 'w')
     f.write("test -r ~/.alias && . ~/.alias\n")
     f.write("test -r ~/.alias && . ~/.alias\n")
     f.write("PS1='GRASS %s (%s):\w > '\n" % (grass_version, location_name))
     f.write("PS1='GRASS %s (%s):\w > '\n" % (grass_version, location_name))
-    f.write("PROMPT_COMMAND=%s\n" % gfile("etc", "prompt.sh"))
-
+    
     path = os.path.join(userhome, ".grass.bashrc")
     path = os.path.join(userhome, ".grass.bashrc")
     if os.access(path, os.R_OK):
     if os.access(path, os.R_OK):
 	f.write(readfile(path) + '\n')
 	f.write(readfile(path) + '\n')