]> Sergey Matveev's repositories - nnn.git/commitdiff
Move some more config params to config.def.h
authorsin <sin@2f30.org>
Tue, 21 Oct 2014 10:35:08 +0000 (11:35 +0100)
committersin <sin@2f30.org>
Tue, 21 Oct 2014 10:35:08 +0000 (11:35 +0100)
config.def.h
noice.c

index cebb942f5c50eebf20fe91f8abe7fe1502098657..e7af17f00dfd8c90498ef7367fc8ee7ace8ae720 100644 (file)
@@ -1,4 +1,7 @@
-/* Configuration */
+#define CWD "cwd: "
+#define CURSR " > "
+#define EMPTY "   "
+
 struct assoc assocs[] = {
        { "\\.(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
        { "\\.(png|jpg|gif)$", "feh" },
diff --git a/noice.c b/noice.c
index 384598096c45c24f2aa7308a641dcb4dd9b9d11f..22bec3be3b007d4870d6c353fa94faa461b1f818 100644 (file)
--- a/noice.c
+++ b/noice.c
@@ -58,10 +58,6 @@ struct history {
 
 SLIST_HEAD(histhead, history) histhead = SLIST_HEAD_INITIALIZER(histhead);
 
-#define CWD "cwd: "
-#define CURSR " > "
-#define EMPTY "   "
-
 /*
  * Layout:
  * .---------