Last active
August 1, 2025 03:46
-
-
Save jrmdev/3584585f57c3c9835c3f6cb9d65eaf42 to your computer and use it in GitHub Desktop.
Non-root shell config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # These are just my personal prefences for bash and tmux | |
| # it also install uv and micro | |
| # I put it here for my own convenience, use it if you want :) | |
| cd $HOME | |
| curl https://raw.githubusercontent.com/trapd00r/LS_COLORS/refs/heads/master/LS_COLORS -o .dircolors | |
| mkdir -p .local/bin | |
| cd .local/bin | |
| curl https://getmic.ro | bash | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| curl https://raw.githubusercontent.com/trapd00r/LS_COLORS/refs/heads/master/lscolors.sh -o $HOME/.lscolors | |
| echo ". $HOME/.lscolors" >> $HOME/.bashrc | |
| curl -o $HOME/.local/bin/tmux-status.sh https://gist.githubusercontent.com/jrmdev/a0a90dddae608fd9d5a385d4e9fae171/raw/56b51c9f0bef4a570413f5a51f3af97d3966a191/tmux-status.sh | |
| chmod a+x $HOME/.local/bin/tmux-status.sh | |
| cat > $HOME/.tmux.conf <<EOF | |
| set-option -g prefix C-a | |
| unbind C-b | |
| bind C-a send-prefix | |
| bind r source-file ~/.tmux.conf \; display-message "Tmux config reloaded!" | |
| bind-key | split-window -h | |
| bind-key _ split-window -v | |
| set-option -g mouse on | |
| set-option -s set-clipboard on | |
| set-option -g history-limit 50000 | |
| set-option -g display-time 4000 | |
| set -g status-interval 2 | |
| set -g status-position bottom | |
| set -g status-style bg=black,fg=white | |
| set -g status-right-length 150 | |
| set -g status-right "#(~/.local/bin/tmux-status.sh)" | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment