aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-10-26 11:23:05 +0530
committerAkshay Nair <phenax5@gmail.com>2025-10-26 14:28:11 +0530
commitca6a853f3ab4994db3d45ba0677bdae1a1769ff6 (patch)
tree9fdb9ceca187db7dd3bfeeed6c818adcf1add5b3
parentac003a6e8c936169fcf2d9b3535fdb5a8d155411 (diff)
downloaddaffm-ca6a853f3ab4994db3d45ba0677bdae1a1769ff6.tar.gz
daffm-ca6a853f3ab4994db3d45ba0677bdae1a1769ff6.zip
Fix command-shell from config example to use eval
Diffstat (limited to '')
-rw-r--r--README.md8
-rw-r--r--daffm.cabal4
-rw-r--r--notes.org4
3 files changed, 7 insertions, 9 deletions
diff --git a/README.md b/README.md
index 026a1ff..cee36d3 100644
--- a/README.md
+++ b/README.md
@@ -71,10 +71,10 @@ xclip -selection clipboard -t $(file --mime-type % -bL) -i %
# Poor man's marks (mark directory by creating a binding)
# m1 marks current directory and <space>1 jumps to that directory
-m1 = """command-shell echo "<daffm>map <space>1 cd %d" """
-m2 = """command-shell echo "<daffm>map <space>2 cd %d" """
-m3 = """command-shell echo "<daffm>map <space>3 cd %d" """
-m4 = """command-shell echo "<daffm>map <space>4 cd %d" """
+m1 = """eval echo "<daffm>map <space>1 cd %d" """
+m2 = """eval echo "<daffm>map <space>2 cd %d" """
+m3 = """eval echo "<daffm>map <space>3 cd %d" """
+m4 = """eval echo "<daffm>map <space>4 cd %d" """
```
diff --git a/daffm.cabal b/daffm.cabal
index 41d1077..65387ab 100644
--- a/daffm.cabal
+++ b/daffm.cabal
@@ -11,8 +11,6 @@ description: Dumb as fuck file manager
extra-doc-files: docs/daffm.1
data-files: docs/daffm.1
-install-includes: docs/daffm.1
-extra-source-files: docs/daffm.1
source-repository head
type: git
@@ -32,7 +30,7 @@ common common-config
build-depends:
array,
base,
- brick == 2.10,
+ brick <= 2.10,
tomland <= 1.3.3.3,
containers <= 0.8,
data-default <= 0.8.0.1,
diff --git a/notes.org b/notes.org
index 663acf6..2c6c865 100644
--- a/notes.org
+++ b/notes.org
@@ -1,12 +1,12 @@
- [X] commands: move cursor: move +1, move -1, move 5, move $, move 0
- [X] rename command-shell to evaluate
-- [ ] Use ls for file listing respecting ansi colors
-- [ ] Generalize cd/opener/back
- [ ] Allow recursive config extends (@A -> @B -> @C)
- [ ] allow escaping % in commands
- [ ] custom commands
- [ ] cmdline autocompletion
- [ ] handle permissions errors
+- [ ] Use ls for file listing respecting ansi colors?
+- [ ] Generalize cd/opener/back?
** Later
- [ ] Show last cmd in cmdline
- [ ] preserve back directory when going inside symlink to directories