mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
Rectified .bashrc - shopt and not . Tmux, use for in-window cursor nav, for changing window.
This commit is contained in:
6
.bashrc
6
.bashrc
@@ -118,7 +118,7 @@ HISTTIMEFORMAT="%H:%M:%S(%z)%d-%b-%y "
|
||||
shopt -s nullglob
|
||||
|
||||
## When only a directory is entered without cd, cd into it
|
||||
shoptd -s autocd
|
||||
shopt -s autocd
|
||||
|
||||
function timer_start {
|
||||
timer=${timer:-$SECONDS}
|
||||
@@ -202,3 +202,7 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# tabtab source for packages
|
||||
# uninstall by removing these lines
|
||||
[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true
|
||||
|
||||
@@ -77,13 +77,19 @@
|
||||
"Aiginia",
|
||||
"BBSR",
|
||||
"Bhubaneswar",
|
||||
"CLR",
|
||||
"Destructured",
|
||||
"GOPATH",
|
||||
"IIS",
|
||||
"JIT",
|
||||
"Jython",
|
||||
"Kumar",
|
||||
"LINQ",
|
||||
"MVC",
|
||||
"Monomorphization",
|
||||
"OOP",
|
||||
"Odisha",
|
||||
"Postgres",
|
||||
"Pratik",
|
||||
"Printf",
|
||||
"Println",
|
||||
@@ -130,8 +136,10 @@
|
||||
"git.enableSmartCommit": true,
|
||||
"git.autofetch": true,
|
||||
"git.confirmSync": false,
|
||||
"gitlens.hovers.currentLine.over": "annotation",
|
||||
"gitlens.hovers.currentLine.over": "line",
|
||||
"gitlens.advanced.telemetry.enabled": false,
|
||||
"gitlens.codeLens.enabled": false,
|
||||
"gitlens.statusBar.reduceFlicker": true,
|
||||
"gitlens.blame.avatars": false,
|
||||
"projectManager.git.baseFolders": [
|
||||
"/media/pratik/Personal_Projects/Code/",
|
||||
@@ -181,6 +189,7 @@
|
||||
"*": "Visual Studio Dark",
|
||||
"markdown": "Community Material Theme Darker High Contrast"
|
||||
},
|
||||
"workbench.colorTheme": "Visual Studio Dark"
|
||||
"workbench.colorTheme": "Visual Studio Dark",
|
||||
"python.languageServer": "Pylance"
|
||||
//
|
||||
}
|
||||
|
||||
16
.tmux.conf
16
.tmux.conf
@@ -4,15 +4,15 @@ set-option -g prefix C-a
|
||||
unbind-key C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
# Use Alt-arrow keys to switch panes
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
# Use Shift-arrow keys to switch panes
|
||||
bind -n S-Left select-pane -L
|
||||
bind -n S-Right select-pane -R
|
||||
bind -n S-Up select-pane -U
|
||||
bind -n S-Down select-pane -D
|
||||
|
||||
# Shift arrow to switch windows
|
||||
bind -n S-Left previous-window
|
||||
bind -n S-Right next-window
|
||||
# Alt arrow to switch windows
|
||||
bind -n M-Left previous-window
|
||||
bind -n M-Right next-window
|
||||
|
||||
# Set easier window split keys
|
||||
bind-key v split-window -h
|
||||
|
||||
4
.zshrc
4
.zshrc
@@ -110,3 +110,7 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# tabtab source for packages
|
||||
# uninstall by removing these lines
|
||||
[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true
|
||||
|
||||
Reference in New Issue
Block a user