github.com/cshuaimin/scd ↗
Sync current directory between your shell and a file manager
Open this visualization on its own page →
Contributors
1
Lines of Code
201
From
2020-04-20
To
2020-06-28
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.