From 44eb5b6bef1f98113e669ffdc3cb36a7687b74c1 Mon Sep 17 00:00:00 2001 From: Pratik Date: Thu, 19 Dec 2019 20:08:32 +0530 Subject: [PATCH] Added tmux specific aliases Added personal aliases in .bashrc VSCode - Ignored shellcheck error for [[ not being recognized by sh --- .aliases | 8 +++++--- .bashrc | 4 ++++ .config/Code/User/settings.json | 14 +++++--------- .config/dolphinrc | 2 +- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.aliases b/.aliases index 8a72d68..3101fdd 100644 --- a/.aliases +++ b/.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 ' \ No newline at end of file diff --git a/.bashrc b/.bashrc index 8ce8663..aa45542 100644 --- a/.bashrc +++ b/.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 \ No newline at end of file diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 508a6fd..a2daa39 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -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, @@ -45,4 +41,4 @@ "git.autofetch": true, "diffEditor.ignoreTrimWhitespace": true, "explorer.confirmDragAndDrop": false -} +} \ No newline at end of file diff --git a/.config/dolphinrc b/.config/dolphinrc index db6ce65..ecd901c 100644 --- a/.config/dolphinrc +++ b/.config/dolphinrc @@ -14,7 +14,7 @@ DefaultProfile= [DetailsMode] FontWeight=50 -PreviewSize=112 +PreviewSize=32 [DownloadDialog Settings] Height 768=502