aliases for some recurrent commands
This commit is contained in:
parent
d5cdbbb7af
commit
1957058cf2
@ -15,6 +15,7 @@ alias s=ls
|
||||
alias sl=ll
|
||||
alias ls='lsd'
|
||||
alias lsg='ll | grip' # show me files matching "ls grep"
|
||||
alias ltr='ls -latr'
|
||||
alias lh='ls -alt | head' # see the last modified files
|
||||
alias tree='ls --almost-all --tree -I .git'
|
||||
alias x='extract'
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
alias commit='gc'
|
||||
alias gpa='git add -p .'
|
||||
alias gcls='git clone --depth 1 --recurse-submodules'
|
||||
alias gpar='gitpushallremote'
|
||||
alias gpcr='gitpushcurrentremote'
|
||||
|
@ -7,6 +7,11 @@ alias bash="/usr/local/bin/bash"
|
||||
#alias date="gdate"
|
||||
alias away='moro break 10 && coffee'
|
||||
alias afk='away'
|
||||
|
||||
# Protect the / directory - via https://github.com/JanEbbing/mytoolbox/blob/5440831fbd0d1575e595d931d4d35be187cf736e/.bash_aliases
|
||||
alias chown='gchown --preserve-root'
|
||||
alias chmod='gchmod --preserve-root'
|
||||
alias chgrp='gchgrp --preserve-root'
|
||||
alias current_year='`echo date +"%Y"`'
|
||||
alias headers='curl -I --compress' # Find out if remote server supports gzip / mod_deflate or not #
|
||||
alias https='http --default-scheme=https' # useful alias stealed from a colleague. http is provided by httpie
|
||||
|
Loading…
Reference in New Issue
Block a user