Adds prompts when using sql commands and adds alias for tldr
This commit is contained in:
parent
d898bc0b77
commit
bdf91f71ae
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 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
|
# These aliases are related to projects
|
||||||
# Make sqlmap put output in the current project folder
|
# Make sqlmap put output in the current project folder
|
||||||
alias sqlmap="[ -L ~/Projects/current ] && sqlmap --output-dir=\"~/Projects/current/sqlmap\""
|
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"
|
alias pc="project switch --fzf"
|
||||||
# Create a new project
|
# Create a new project
|
||||||
alias pn="project new"
|
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