mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
Create target directory if required
Remove hardcoded target directory
This commit is contained in:
4
.aliases
4
.aliases
@@ -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 usersearch="awk -F: '{print \"UserName: \" \$1 \", UserID: \" \$3 \", Home Dir: \" \$6 \", Shell Used: \" \$7}' /etc/passwd | grep"
|
||||||
# alias code="codium"
|
# alias code="codium"
|
||||||
|
|
||||||
|
url_encode(){
|
||||||
|
python3 -c "import urllib.parse, sys; print(urllib.parse.quote(sys.stdin.read()))" <<< "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# History
|
# History
|
||||||
alias histsearch="history | grep"
|
alias histsearch="history | grep"
|
||||||
|
|||||||
1
.bashrc
1
.bashrc
@@ -211,4 +211,5 @@ command -v kubectl && source <(kubectl completion bash)
|
|||||||
[[ ! -f "$HOME/.cargo/env" ]] || source "$HOME/.cargo/env"
|
[[ ! -f "$HOME/.cargo/env" ]] || source "$HOME/.cargo/env"
|
||||||
export QT_PLUGIN_PATH=~/.local/lib/qt/plugins/:
|
export QT_PLUGIN_PATH=~/.local/lib/qt/plugins/:
|
||||||
|
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
eval "$(ssh-agent -s)"
|
eval "$(ssh-agent -s)"
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
"prettier.tabWidth": 4,
|
"prettier.tabWidth": 4,
|
||||||
"editor.insertSpaces": true,
|
"editor.insertSpaces": true,
|
||||||
"editor.detectIndentation": false,
|
"editor.detectIndentation": false,
|
||||||
"editor.renderIndentGuides": true,
|
|
||||||
"editor.multiCursorModifier": "ctrlCmd",
|
"editor.multiCursorModifier": "ctrlCmd",
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"files.autoSave": "afterDelay",
|
"files.autoSave": "afterDelay",
|
||||||
@@ -204,7 +203,7 @@
|
|||||||
//
|
//
|
||||||
"editor.acceptSuggestionOnEnter": "smart",
|
"editor.acceptSuggestionOnEnter": "smart",
|
||||||
"editor.snippetSuggestions": "top",
|
"editor.snippetSuggestions": "top",
|
||||||
"workbench.colorTheme": "GitHub Dark Dimmed"
|
"workbench.colorTheme": "GitHub Dark Dimmed",
|
||||||
|
"editor.guides.indentation": true
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|||||||
4
.profile
4
.profile
@@ -25,6 +25,4 @@ fi
|
|||||||
if [ -d "$HOME/.local/bin" ] ; then
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
export PATH="$HOME/.cargo/bin:/media/pratik/Projects/DevSetUps:/media/pratik/Projects/DevSetUps/IDEs/flutter/bin:$PATH"
|
|
||||||
source "$HOME/.cargo/env"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user