Created
November 5, 2023 03:38
-
-
Save keithkim/cb20277563983ca30e143319b65f1ad4 to your computer and use it in GitHub Desktop.
alias for cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ca=conda activate $1 | |
cde=conda deactivate | |
cda=conda deactivate | |
cel=conda env list | |
condals=conda list | |
cs=conda search $1 | |
find=findstr /sin $* | |
..=..\$* | |
...=..\..\$* | |
clear=cls | |
cp=copy $* | |
mv=move $* | |
rm=del $* | |
ls=lsd | |
ll=lsd -alF | |
ps=pslist | |
pwd=cd | |
which=where $1 | |
real=c:\bin\alias.bat | |
vialias=vim c:\bin\aliases.txt | |
listalias=doskey /macros:all | |
aliasls=doskey /macros:all | |
aliaslist=doskey /macros:all | |
qq=more c:\bin\aliases.txt | find /i "$1" | |
qqls=more c:\bin\aliases.txt | |
qqlist=more c:\bin\aliases.txt | |
open=explorer $1 | |
vi=vim $* | |
ps=tasklist | |
kill=taskkill /im $1 /t /f | |
battery=powercfg /batteryreport | |
far="C:\Users\keith\AppData\Local\Far Manager x64\far.exe" | |
touch=copy nul $* | |
unzip=tar -xf $* | |
gb=git branch $* | |
gd=git diff $* | |
gs=git status | |
gl=git log | |
gv=gitbstat | |
gc=git co $* | |
gg=git log --oneline --decorate --graph | |
gp=git pull $* | |
gr=git reflog $* | |
gitalias=git config --get-regexp alias $* | |
gin=git incoming | |
gout=git outgoing | |
greviewers=git findreviewers | |
greviewer=git findreviewers | |
gweek=git weekly | |
gbr=git branch $* | |
gbrall=git branch -a $* | |
gbrr=git branch -r $* | |
gclean=git clean -d -n $* | |
gcleanf=git clean -d -f $* | |
gstash=git stash $* | |
gstashll=git stash list | |
gstashpop=git stash pop | |
gstashuse=git stash apply | |
gdiff=git diff \:!generated/\ $* | |
gcls=git diff-tree --no-commit-id --name-only -r | |
gconfig=git config --list --show-origin --show-scope | |
gfreshremote=git remote update origin --prune | |
dcls=docker container ls -a | |
dcrm=docker container rm | |
dcstop=docker container stop | |
dils=docker images | |
dirm=docker image rm $1 | |
dvls=docker volume ls | |
dvrm=docker volume rm $1 | |
jj=jrnl $* | |
jn=jrnl $* | |
je=jrnl --edit | |
jr=jrnl -n 10 | |
dnls=docker network ls | |
dnrm=docker network rm $1 | |
dip=docker inspect --format {{ .NetworkSettings.IPAddress }} | |
vigithelp=vim c:\bin\notes\KB-git-process.txt | |
vigittip=vim c:\bin\notes\KB-git-tips.txt | |
helpgit=more c:\bin\notes\KB-git-process.txt | |
githelp=more c:\bin\notes\KB-git-process.txt | |
helpdeploy=more c:\bin\notes\KB-git-process.txt | |
gittip=more c:\bin\notes\KB-git-tips.txt | |
tipgit=more c:\bin\notes\KB-git-tips.txt | |
goshell=gomacro | |
gorepl=gomacro | |
chocoinstalled=choco list --local-only | |
clist=clist -l | |
chocoinstalled=clist -l | |
weather=curl wttr.in/paramus | |
file="C:\Program Files\Git\usr\bin\file" $1 | |
cal=c:\msys64\usr\bin\cal.exe $* | |
links="C:\Program Files\Links\links.exe" $1 | |
opendown=explorer %USERPROFILE%\Downloads | |
findprocid=tasklist /v /fo csv | findstr /i $1 | |
wslshutdown=wsl --shutdown | |
wsllist=wsl --list --verbose | |
wslt=wsl -t $1 | |
vgglobal=vagrant global-status | |
vgdestroy=vagrant destroy $1 | |
vgreload=vagrant reload | |
vgsuspend=vagrant suspend | |
vghalt=vagrant halt | |
vgport=vagrant port | |
vgup=vagrant up | |
vgsshconfig=vagrant ssh-config | |
vglist=vagrant box list | |
vgls=vagrant box list | |
vgremove=vagrant box remove $1 | |
vgssh=vagrant ssh | |
fbbuild=fab vagrant build | |
fbdb=fab vagrant loaddb | |
fbreset=fab vagrant pip:reset | |
fbra=fab vagrant ra | |
fbapache=fab vagrant apache | |
fbmigrate=fab vagrant migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment