diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-06-13 22:56:01 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-06-13 22:56:01 -0700 |
commit | 9223b643b6c2348b15d919c4596a76f6581d195c (patch) | |
tree | 492c446ec708e7a69170e8130383cdc86831b9fb /share | |
parent | f3560b8e626a528f2b5cc167c00d610ab9546b82 (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')
-rwxr-xr-x | share/tools/web_config/webconfig.py | 4 |
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: |