cshuaimin/scd

Created Dec 24, 2020 · View the cshuaimin/scd repository page

Sync current directory between your shell and a file manager

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

1

Lines of Code

201

From

Apr 20, 2020

To

Jun 28, 2020

About cshuaimin/scd

SCD is a lightweight terminal file manager written in Rust that prioritizes seamless integration with your shell environment. Rather than forcing users to switch between their shell and a separate file manager, SCD runs as a sidebar within tmux or kitty, keeping file browsing immediately accessible while maintaining synchronized state with your shell's current directory. When you navigate directories in the shell using `cd`, SCD automatically updates to show that location, and conversely, selecting a directory in SCD automatically changes your shell's working directory.

Beyond basic file management operations like navigation, deletion, and renaming, SCD includes built-in resource monitoring capabilities displayed alongside the file list. This dual functionality eliminates the need to open separate monitoring tools while browsing files. The interface uses vim-like keybindings for navigation and supports features like file filtering, marking files for batch operations, and copying or moving marked files.

Currently, SCD supports only the Fish shell for the necessary directory synchronization hooks, though the project welcomes contributions to add support for other shells. Users can configure how files are opened through a YAML configuration file, with the default behavior delegating to `xdg-open`. Installation is straightforward via Cargo, making it accessible to users already using Rust tooling.

Share this video