diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-25 22:59:49 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-25 22:59:49 +0000 |
commit | 69b8d4f81b4dc82ff95e8b845c9a211b62f0248f (patch) | |
tree | ce9bc5b68d9e48b9beb0193c35d8c6ec98c3673c /src/core/commands.h | |
parent | 0415b1bbcec9265add58cdac646beeb54c7c38e5 (diff) | |
download | irssi-69b8d4f81b4dc82ff95e8b845c9a211b62f0248f.zip |
Subcommand and command parameter completion works now also if you use
alias as the base command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@380 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/commands.h')
-rw-r--r-- | src/core/commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/commands.h b/src/core/commands.h index a199a1f5..1f1dc8dd 100644 --- a/src/core/commands.h +++ b/src/core/commands.h @@ -22,6 +22,9 @@ enum { CMDERR_NOT_GOOD_IDEA /* not good idea to do, -yes overrides this */ }; +#define alias_find(alias) \ + iconfig_get_str("aliases", alias, NULL) + #define cmd_return_error(a) { signal_emit("error command", 1, GINT_TO_POINTER(a)); signal_stop(); return; } #define cmd_param_error(a) { cmd_params_free(free_arg); cmd_return_error(a); } |