aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-13 22:56:01 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-13 22:56:01 -0700
commit9223b643b6c2348b15d919c4596a76f6581d195c (patch)
tree492c446ec708e7a69170e8130383cdc86831b9fb /share/tools
parentf3560b8e626a528f2b5cc167c00d610ab9546b82 (diff)
Use --remove instead of -e when erasing abbreviations from fish_config
Updates fish_config to use the correct argument to abbr
Diffstat (limited to 'share/tools')
-rwxr-xr-xshare/tools/web_config/webconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py
index d65c86f8..c122f587 100755
--- a/share/tools/web_config/webconfig.py
+++ b/share/tools/web_config/webconfig.py
@@ -702,14 +702,14 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
return result
def do_remove_abbreviation(self, abbreviation):
- out, err = run_fish_cmd('abbr -e %s' % abbreviation['word'])
+ out, err = run_fish_cmd('abbr --remove %s' % abbreviation['word'])
if out or err:
return err
else:
return True
def do_save_abbreviation(self, abbreviation):
- out, err = run_fish_cmd('abbr -a \'%s %s\'' % (abbreviation['word'], abbreviation['phrase']))
+ out, err = run_fish_cmd('abbr --add \'%s %s\'' % (abbreviation['word'], abbreviation['phrase']))
if err:
return err
else: