Oh my GoSh all my scripts in one binary
Still in developement...
- Sessionizer (
gosh s
orgosh sessionizer
): Manipulate tmux sessions with various subcommands:fs
: Connect to SSH hosts from your configfd
: Find and create tmux sessions for directoriesvf
: Quick-open directories in your editor within tmuxfg
: Clone and set up GitHub repositories with tmux sessions
- Cat (
gosh cat
orgosh c
): View file contents with syntax highlighting - Edit (
gosh edit
orgosh e
): Quick access to vim/vi editor
- Install (
gosh install
): Install binaries from GitHub releases# Install specific repositories gosh install mikefarah/yq DnFreddie/gosh # Install to custom directory gosh install --target ~/.local/bin mikefarah/yq # Install with custom binary name gosh install cli/cli:gh # Install predefined toolbox gosh install --toolbox
- Snippets (
gosh snip
): Manage and use code snippets
You can install gosh using the following methods:
- Using go install:
go install github.com/DnFreddie/gosh@latest
- Clone and build from source:
git clone https://github.com/DnFreddie/gosh.git
cd gosh
go build
Generate shell completions using:
gosh compl [command-name] --shell [bash|zsh|fish] --completion-dir ~/.local/share/completions
- Binaries are installed to
~/.local/bin
by default - Temporary files are stored in the system's temp directory
- Completions are stored in
~/.local/share/completions
- tmux
- vim/vi (for edit command)
- git (for GitHub operations)