aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 20:51:31 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 20:51:31 +1000
commitfcd474afe8ec02b6f605bbd69bc96c77804fe19e (patch)
treed3d94911b4d367942345c4adacdedbe0c22db45c /common.h
parent3ca3b6209d0da6f233ed71c6c03ec6bfc4dd71fc (diff)
Make completion system not use quoted string escapes, since it generally looks a bit confusing there
darcs-hash:20071006105131-75c98-af770878124cc19946b964c0cf772818a5bf4216.gz
Diffstat (limited to 'common.h')
-rw-r--r--common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/common.h b/common.h
index f322bada..41fc64d5 100644
--- a/common.h
+++ b/common.h
@@ -40,9 +40,24 @@
*/
#define BYTE_MAX 0xffu
+/*
+ Escape special fish syntax characters liek the semicolon
+ */
#define UNESCAPE_SPECIAL 1
+/*
+ Allow incomplete escape sequences
+ */
#define UNESCAPE_INCOMPLETE 2
+/**
+ Escape all characters, including magic characters like the semicolon
+ */
+#define ESCAPE_ALL 1
+/**
+ Do not try to use 'simplified' quoted escapes, and do not use empty quotes as the empty string
+ */
+#define ESCAPE_NO_QUOTED 2
+
/**
Save the shell mode on startup so we can restore them on exit