For lazy people like me
To install, run this in your terminal.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zeroby0/dotfiles/master/setup.sh)"
Best used with MacOS. You're should check the files before installing to prevent overriding stuff.
x- CDs the terminal to window open in finder.z- CDs to Desktopc- CDs to Project Root. (Uses .git folder)s- Opens file or folder in Sublime Text. Opens current directory if no args.
mx-Toucha new file in PWD and open it in Sublimemk- Create a new folder and CD into itop- Open current terminal directory in Findershow- Shows hidden fileshide- Hides hidden files
st- git statuscl- git clonecm- git add -A && git commit -amsm- squash and mergeck- git checkoutdrop- Drop all changes since last commitpush- git push
ydl- Shorthand for Youtube-dladl- ydl, but download only audiovget- ydl, but fancierclippy- Continuosly download links in clipboardslippy- Clippy, but with aria2c
extract- Extract several types of archives automaticallymaketar- Tar archive directory given as argumentmakezip- Zip archive directory given as argumentzipit- Compress current dir without the pesky .DS_Store filesmkv2mp3- convert mkv to mp3 with ffmpeg. There are other converters, checkout the funcs.sh file
avenv- Activates virtualenv environmentacon- Activates Conda environment
hs- Search in History...- CD to parent directorycleanmac- Recursively deletes.DS_Storefiles in folder and sub-foldersic- Sets terminal in 'Incognito mode'. For ZSH only.opza- Opens myz.sh in sublime textfuncs- Opens funcs.sh file in editoraliases- Opens aliases.sh file in editorairport -s- List all available WiFi networks