mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
Added tmux specific aliases
Added personal aliases in .bashrc VSCode - Ignored shellcheck error for [[ not being recognized by sh
This commit is contained in:
8
.aliases
8
.aliases
@@ -78,6 +78,11 @@ alias fpmreset71="sudo systemctl restart php7.1-fpm"
|
||||
alias fpmreset72="sudo systemctl restart php7.2-fpm"
|
||||
alias fpmreset73="sudo systemctl restart php7.3-fpm"
|
||||
alias fpmreset74="sudo systemctl restart php7.4-fpm"
|
||||
alias ta="tmux a"
|
||||
alias tat="tmux a -t"
|
||||
alias tls="tmux ls"
|
||||
alias tnew="tmux new"
|
||||
alias tnewt="tmux new -t"
|
||||
|
||||
f2b_banned_ips() {
|
||||
local provided_jail=$1
|
||||
@@ -153,6 +158,3 @@ f2b_ban_an_ip(){
|
||||
|
||||
sudo fail2ban-client set "${ban_jail}" banip "${ip_to_ban}" > /dev/null && echo "Ban successful"
|
||||
}
|
||||
|
||||
# SSH
|
||||
alias tunnel_web22222='ssh -NL 8080:127.0.0.1:22222 '
|
||||
4
.bashrc
4
.bashrc
@@ -188,6 +188,10 @@ if [[ -f ~/.aliases ]]; then
|
||||
source ~/.aliases
|
||||
fi
|
||||
|
||||
if [[ -f ~/.aliases_personal ]]; then
|
||||
source ~/.aliases_personal
|
||||
fi
|
||||
|
||||
if [[ -f ~/.gosetup ]]; then
|
||||
source ~/.gosetup
|
||||
fi
|
||||
@@ -2,16 +2,16 @@
|
||||
"telemetry.enableTelemetry": false,
|
||||
"telemetry.enableCrashReporter": false,
|
||||
"extensions.showRecommendationsOnlyOnDemand": true,
|
||||
|
||||
"workbench.colorTheme": "Material Theme Darker High Contrast",
|
||||
"workbench.iconTheme": "material-icon-theme",
|
||||
"editor.fontFamily": "'FuraCode Nerd Font', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
|
||||
"terminal.integrated.fontFamily": "FuraCode Nerd Font",
|
||||
"editor.fontLigatures": true,
|
||||
|
||||
"shellcheck.run": "onSave",
|
||||
"shellcheck.exclude": [2181],
|
||||
|
||||
"shellcheck.exclude": [
|
||||
2181,
|
||||
2039
|
||||
],
|
||||
"editor.wordWrap": "on",
|
||||
"editor.minimap.enabled": false,
|
||||
"workbench.startupEditor": "newUntitledFile",
|
||||
@@ -19,20 +19,16 @@
|
||||
"diffEditor.renderSideBySide": false,
|
||||
"files.autoSave": "afterDelay",
|
||||
"editor.multiCursorModifier": "ctrlCmd",
|
||||
|
||||
"bracketPairColorizer.forceUniqueOpeningColor": true,
|
||||
"bracketPairColorizer.rulerPosition": "Full",
|
||||
"bracketPairColorizer.showBracketsInRuler": true,
|
||||
|
||||
//Below reduces the Activity Bar size
|
||||
"window.zoomLevel": -1,
|
||||
"editor.fontSize": 16,
|
||||
"terminal.integrated.fontSize": 16,
|
||||
|
||||
"window.menuBarVisibility": "toggle",
|
||||
"git.enableSmartCommit": true,
|
||||
"bracketPairColorizer.highlightActiveScope": true,
|
||||
|
||||
"prettier.tabWidth": 4,
|
||||
"prettier.useTabs": true,
|
||||
"editor.formatOnSave": true,
|
||||
|
||||
@@ -14,7 +14,7 @@ DefaultProfile=
|
||||
|
||||
[DetailsMode]
|
||||
FontWeight=50
|
||||
PreviewSize=112
|
||||
PreviewSize=32
|
||||
|
||||
[DownloadDialog Settings]
|
||||
Height 768=502
|
||||
|
||||
Reference in New Issue
Block a user