From: Gabriel Dunne Date: Mon, 4 Sep 2023 02:43:33 +0000 (-0700) Subject: Add path and update tmux.conf X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=fdeba9ba0b51f069e9a9adeb0393de6cc3ce1582;p=cfg.git Add path and update tmux.conf --- diff --git a/.tmux.conf b/.tmux.conf index 16a9aa9..f7f1f36 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -6,6 +6,13 @@ set -g mouse on # Allows for faster key repetition set -s escape-time 0 +# bind new keys for splits +bind | split-window -hc "#{pane_current_path}" +bind - split-window -vc "#{pane_current_path}" + +# reload conf +bind r source-file ~/.tmux.conf \; display "Reloaded .tmux.conf" + # constrain window size to the maximum size of any client connected to that window setw -g aggressive-resize on @@ -16,5 +23,4 @@ set -g status-left-length 20 set -g status-right-length 40 set -g status-left "#[bg=colour0]#[fg=colour4] #h [#[fg=colour15]#I#[fg=colour4]] " # set -g status-right "#[bg=colour33]#[fg=colour255]#[fg=colour232] #[fg=colour255]#(uptime | awk {'print $8, $9, $10'})#[fg=colour232] #[bg=colour232] #[bg=colour33] #[fg=colour255]#(date '+%H:%M %d-%m-%Y')#[fg=colour232] " -set -g status-right "#[bg=colour0]#[fg=colour255]#[fg=colour232]#[bg=colour0]#[fg=colour149]#(date '+%H:%M %Y-%m-%d')" - +set -g status-right "#[bg=colour0]#[fg=colour255]#[fg=colour232]#[bg=colour0]#[fg=colour149]#(date '+%Y-%m-%d %a %H:%M')" diff --git a/.zsh-darwin b/.zsh-darwin index cf67430..8b1b63a 100644 --- a/.zsh-darwin +++ b/.zsh-darwin @@ -21,7 +21,7 @@ alias x86='arch -x86_64 zsh' # Start Shell in Rosetta 2 (M1 Macs) alias dl='yt-dlp' alias hf='defaults write com.apple.finder AppleShowAllFiles false; killall Finder' # hide hidden alias shf='defaults write com.apple.finder AppleShowAllFiles true; killall Finder' # show hidden -alias cat='bat' +# alias cat='bat' alias grep='grep --color' # Lima @@ -50,3 +50,23 @@ export NVM_DIR="$HOME/.nvm" # LaTeX export PATH="/etc/paths.d/TeX:/Library/TeX/texbin:$PATH" + +# ruby +#export PATH="/Users/gld/.gem/ruby/3.1.1/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.1.1/bin:$PATH" +export PATH="/Users/gld/.gem/ruby/3.1.0/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.1.0/bin:$PATH" +source /opt/homebrew/opt/chruby/share/chruby/chruby.sh +source /opt/homebrew/opt/chruby/share/chruby/auto.sh +chruby ruby-3.1.2 # run chruby to see actual version +source /opt/homebrew/opt/chruby/share/chruby/chruby.sh +source /opt/homebrew/opt/chruby/share/chruby/auto.sh + +# dotfiles +alias cfg='/opt/homebrew/bin/git --git-dir=/Users/gld/.cfg/ --work-tree=/Users/gld' + +# more path +export PATH="$HOME/.local/bin:$PATH" + + + + +