+latex coloring
This commit is contained in:
parent
cad906b13e
commit
41d5a13c5d
1 changed files with 7 additions and 0 deletions
7
.bashrc
7
.bashrc
|
|
@ -227,6 +227,13 @@ function cpy()
|
|||
$@ 2>&1 | colout -t python
|
||||
}
|
||||
|
||||
function ctex()
|
||||
{
|
||||
set -o pipefail
|
||||
$@ 2>&1 | colout -t latex
|
||||
}
|
||||
|
||||
|
||||
# shortcut to display the url config of remote repo in a git root
|
||||
alias git_remotes="grep -A 2 \"\[remote\" .git/config|grep -v fetch|sed \"s/\[remote \\\"//\"|sed ':a;N;\$!ba;s/\"\]\n\s*url = /\t/g'"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue