scd
scd copied to clipboard
Usage unclear
https://github.com/cshuaimin/scd#usage
In sidebar, run scd to open the main window.
What is a sidebar? How to open one?
In your shell, you need to setup some hooks to send scd shell events:
I ran that in my fish shell, it did nothing. Where to run this?
What terminal are you using?
First, you need to use tmux
, screen
, kitty
shell or something to split the terminal into left and right panels, and narrow the left panel a little.
Then run scd
in the left panel. In readme I call this panel sidebar.
Finally run scd fish-init | source
in the right panel. This command setup the hook and doesn't output anything.
Can't try it anymore, because I always get:
$ scd
Error: EEXIST: File exists
No scd
process is running.
Please see #3.
I'm having a similar issue where fish-init causes the terminal to hang. If I kill the terminal and try again, SCD exits when I use any command other then navigating up/down/filter. I tried using rm /tmp/{scd-cmds-to-run,scd-shell-events}.
I replace the cargo src with the src directly from github but fish-init still hangs. It no longer exits when navigating directories - instead it says shell not initialized. The commands still seem to work, but I cannot open files (nor does it sync with directories with my terminal). This might be due to trying to use a wildcard in open.yml to call a custom command: *.*: wsl-open
@tgaldi
-
If fish-init hangs the terminal, try to exit fish, killall scd, then start a new terminal session. This may be an issue of incomplete cleanup in fish_deinit.
-
Currently only the file extension is allowed in the configuration file, and scd will treat the wildcard as the file extension...
I am sorry for the long inactivity of the project, but it has not been abandoned. In fact, I use scd in my work every day and planed to implement many cool features. I started my first intern several months ago, writing some boring Python scripts, so I have less free time for scd. I’m trying to implement a new TUI crate using Flutter’s diff algorithm and Elm like architecture. After this I will rewrite scd with this TUI crate and avoid these bugs and implement the features I wanted every day.