added paths to bashrc, added keybinding to tmux to detach from session and exit parent shell

This commit is contained in:
scbj
2024-11-19 11:44:52 +01:00
parent 21689afb92
commit eef1c772a4
4 changed files with 15 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
# #
# extend paths # extend paths
export PATH="$PATH:~/tools/Xilinx/Vivado/2021.1/bin" export PATH="$PATH:$HOME/tools/Xilinx/Vivado/2021.1/bin"
# vivado license # vivado license
export XILINXD_LICENSE_FILE=26140@aberdeen.zhaw.ch export XILINXD_LICENSE_FILE=26140@aberdeen.zhaw.ch

View File

@@ -29,6 +29,8 @@ alias bashsource='source ~/.bashrc'
## short forms for tmux commands ## short forms for tmux commands
alias tma='tmux attach' alias tma='tmux attach'
alias tmd='tmux detach -P'
alias trs='tmux rename-session' alias trs='tmux rename-session'
alias trw='tmux rename-window' alias trw='tmux rename-window'
alias tnw='tmux new-window -c "#{pane_current_path}"' alias tnw='tmux new-window -c "#{pane_current_path}"'
@@ -41,7 +43,9 @@ export TERM="xterm-256color"
# extend PATH variable # extend PATH variable
# export PATH=$PATH:~/path/to/add # export PATH=$PATH:~/path/to/add
export PATH=$PATH:$HOME/dotfiles/misc/scripts/ if [[ "$PATH" != *"dotfiles/misc/scripts/"* ]]; then
export PATH=$PATH:$HOME/dotfiles/misc/scripts/;
fi
# setup starship # setup starship
eval "$(starship init bash)" eval "$(starship init bash)"
@@ -59,7 +63,4 @@ source ~/.bash_alias
# source cargo if available # source cargo if available
cargo_env="~/.cargo/env" source "$HOME/.cargo/env"
if [ -f "${cargo_env}" ]; then
source "${cargo_env}"
fi

View File

@@ -44,10 +44,12 @@
"rust-analyzer.lens.implementations.enable": false, "rust-analyzer.lens.implementations.enable": false,
"rust-analyzer.lens.run.enable": false, "rust-analyzer.lens.run.enable": false,
"rust-analyzer.diagnostics.enable": false, "rust-analyzer.diagnostics.enable": false,
"rust-analyzer.inlayHints.typeHints.enable": false,
"rust-analyzer.inlayHints.chainingHints.enable": false,
"rust-analyzer.inlayHints.closingBraceHints.enable": false,
"rust-analyzer.inlayHints.genericParameterHints.const.enable": false, "rust-analyzer.inlayHints.genericParameterHints.const.enable": false,
"rust-analyzer.inlayHints.parameterHints.enable": false, "rust-analyzer.inlayHints.parameterHints.enable": false,
"rust-analyzer.inlayHints.renderColons": false "rust-analyzer.inlayHints.renderColons": false,
"rust-analyzer.inlayHints.bindingModeHints.enable": true,
"rust-analyzer.inlayHints.closingBraceHints.enable": false,
"rust-analyzer.inlayHints.genericParameterHints.type.enable": true,
"rust-analyzer.inlayHints.typeHints.hideClosureInitialization": true,
"rust-analyzer.inlayHints.typeHints.hideNamedConstructor": true
} }

View File

@@ -20,6 +20,8 @@ bind -n M-Down select-pane -D
bind -n M-Up select-pane -U bind -n M-Up select-pane -U
bind -n M-Right select-pane -R bind -n M-Right select-pane -R
bind k run "tmux detach -P"
# enable mouse support # enable mouse support
set -g mouse on set -g mouse on
# bind -n WheelUpPane { # bind -n WheelUpPane {