[Github-comments] [geany/geany] How to hide a particular folder from history in geany? (#2194)
Matthew Brush
notifications at xxxxx
Sun Jun 16 21:50:44 UTC 2019
You could probably hack something with [the `-c` option](https://www.geany.org/manual/current/index.html#command-line-options) to Geany.
Something like this not well tested shell script comes to mind:
```bash
#!/bin/sh
set -e
temp_dir=$(mktemp -d -t geany-config-XXXXXXXX) || exit 1
trap "rm -rf ${temp_dir}" EXIT
cp -r "${HOME}"/.config/geany/* "${temp_dir}"
geany -i -c "${temp_dir}"
```
Save it as an executable script somewhere and then run that when you want to hack on the super secret stuff. You could also just write a simple wrapper script that opens Geany normally and after it closes, use `sed` or whatever to delete the `recent_files` or whichever entries from `geany.conf`.
Just a couple workarounds.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2194#issuecomment-502488715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190616/dae2955b/attachment-0001.html>
More information about the Github-comments
mailing list