2 ms·
Agreed. I use single letter aliases, for ex: h='history | tail -n20' l='ls -ltrhG' d='dict -d wn' s='du -sh * | sort -h'
by asicsp 5y ago
Agreed. I use single letter aliases, for ex:
h='history | tail -n20'
l='ls -ltrhG'
d='dict -d wn'
s='du -sh * | sort -h'
- moehm 5y ago> s='du -sh * | sort -h' Quick shoutout, you should probably alias to 'du -sh -- *'. Otherwise file names starting with '-' are interpreted as input for your command.
- 0xJRS 5y agothose are good. While they arent a single char I do like these a lot: gs='git status' gl='git pull' gcm='git commit -m' ga='git add -A' gp='git push'
- asicsp 5y agoI have something similar too! gst='git status' ga='git add' gc='git commit -am' gl='git log --graph --pretty=format:"%h %Cred%s%Creset %Cgreen(%cr)%Creset" --abbrev-commit' glh='gl | head -n5' gp='git push'