Adds prompts when using sql commands and adds alias for tldr
This commit is contained in:
parent
1a0c852712
commit
6859650eec
1 changed files with 5 additions and 0 deletions
|
@ -176,6 +176,9 @@ alias surecheckImport="$JAVA_HOME/bin/java -jar $ARMORY/host_build_reviews/windo
|
|||
|
||||
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
|
||||
|
||||
alias mysql="echo \"You might want to use mycli instead\"; /usr/bin/mysql"
|
||||
alias postgres="echo \"You might want to use pgcli instead\"; /usr/bin/postgres"
|
||||
|
||||
# These aliases are related to projects
|
||||
# Make sqlmap put output in the current project folder
|
||||
alias sqlmap="[ -L ~/Projects/current ] && sqlmap --output-dir=\"~/Projects/current/sqlmap\""
|
||||
|
@ -187,3 +190,5 @@ alias pa="project switch --auto"
|
|||
alias pc="project switch --fzf"
|
||||
# Create a new project
|
||||
alias pn="project new"
|
||||
|
||||
alias tl="tldr -a | tr ',' '\n' | tr -d ' ' | fzf --preview='tldr {} -m | bat -l markdown --color always' | xargs tldr -m | bat -l markdown --color always"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue