Replace tmux with kitty
- setup.sh: install kitty instead of tmux, fix clone URL - .bashrc: remove tmux auto-start, add kitty SSH alias - .tmux.conf: removed - README.md: update to kitty documentation
This commit is contained in:
10
.bashrc
10
.bashrc
@@ -105,6 +105,7 @@ conda() {
|
||||
|
||||
# Lazy load nvm
|
||||
load_nvm() {
|
||||
unset -f nvm node npm
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion"
|
||||
@@ -120,9 +121,14 @@ export VISUAL=vim
|
||||
|
||||
export PATH="/usr/local/bin:$PATH"
|
||||
. "$HOME/.cargo/env"
|
||||
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||
exec tmux
|
||||
|
||||
if [ "$TERM" = "xterm-kitty" ]; then
|
||||
alias ssh="kitty +kitten ssh"
|
||||
fi
|
||||
|
||||
# opencode
|
||||
export PATH=/home/james/.opencode/bin:$PATH
|
||||
export PATH="$HOME/.npm-global/bin:$PATH"
|
||||
|
||||
# OpenClaw Completion
|
||||
source "/home/james/.openclaw/completions/openclaw.bash"
|
||||
|
||||
Reference in New Issue
Block a user