Create target directory if required

Remove hardcoded target directory
This commit is contained in:
Pratik Tripathy
2023-02-06 00:32:52 +05:30
parent 6c061f3a10
commit 2f5dbc7f10
4 changed files with 8 additions and 6 deletions

View File

@@ -15,6 +15,10 @@ alias fgrep='fgrep --color=auto'
alias usersearch="awk -F: '{print \"UserName: \" \$1 \", UserID: \" \$3 \", Home Dir: \" \$6 \", Shell Used: \" \$7}' /etc/passwd | grep"
# alias code="codium"
url_encode(){
python3 -c "import urllib.parse, sys; print(urllib.parse.quote(sys.stdin.read()))" <<< "$1"
}
# History
alias histsearch="history | grep"

View File

@@ -211,4 +211,5 @@ command -v kubectl && source <(kubectl completion bash)
[[ ! -f "$HOME/.cargo/env" ]] || source "$HOME/.cargo/env"
export QT_PLUGIN_PATH=~/.local/lib/qt/plugins/:
. "$HOME/.cargo/env"
eval "$(ssh-agent -s)"

View File

@@ -20,7 +20,6 @@
"prettier.tabWidth": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.renderIndentGuides": true,
"editor.multiCursorModifier": "ctrlCmd",
"files.trimTrailingWhitespace": true,
"files.autoSave": "afterDelay",
@@ -204,7 +203,7 @@
//
"editor.acceptSuggestionOnEnter": "smart",
"editor.snippetSuggestions": "top",
"workbench.colorTheme": "GitHub Dark Dimmed"
"workbench.colorTheme": "GitHub Dark Dimmed",
"editor.guides.indentation": true
//
}

View File

@@ -25,6 +25,4 @@ fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
export PATH="$HOME/.cargo/bin:/media/pratik/Projects/DevSetUps:/media/pratik/Projects/DevSetUps/IDEs/flutter/bin:$PATH"
source "$HOME/.cargo/env"
. "$HOME/.cargo/env"