Browse Source

fix issue with rendering of plugin aliases in which -v

adam j hartz 1 year ago
parent
commit
7b604ae270
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      takoshell/aliases.py

+ 1
- 1
takoshell/aliases.py View File

@@ -280,7 +280,7 @@ def which(args, stdin=None, stdout=None, stderr=None):
280 280
                         else:
281 281
                             print(arg, file=stdout)
282 282
                     else:
283
-                        print("$TAKO_SETTINGS.plugins.%s.aliases['{}'] = {}".format(repr(plugin.lower()), arg, local_aliases[arg]), file=stdout)
283
+                        print("$TAKO_SETTINGS.plugins.{}.aliases[{}] = {}".format(plugin.lower(), repr(arg), local_aliases[arg]), file=stdout)
284 284
                     nmatches += 1
285 285
                     if not pargs.all:
286 286
                         continue

Loading…
Cancel
Save