Skip to content

elbracht/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated: Does not work with ZSH, which is standard since macOS Catalina

Dotfiles

Install

Warning: The setup script overwrite files in your home directory. Use at your own risk!

$ git clone https://github.com/elbracht/dotfiles.git
$ cd dotfiles

# Link dotfiles
$ source setup.sh

# Install applications
# Please sign into the Mac App Store app first
$ ./install.sh

Some applications require additional permissions for the system. Go to System Preferences > Security & Privacy > Privacy > Accessibility and check the following applications.

Bartender 3.app
DeepL Helper.app
Magnet.app
Sip.app

You can backup and restore Atom packages after executing the scripts above.

# Restore packages
$ apm install --packages-file ~/.atom/packages.list

# Backup packages
$ apm list --installed --bare | grep '^[^@]\+' -o > ~/.atom/packages.list

CheatSheet

Navigation

$ ..    # cd ..
$ ...   # cd ../..
$ ....  # cd ../../..
$ ..... # cd ../../../..
$ ~     # cd ~

List

$ l   # List all files colorized in long format
$ la  # List all files colorized in long format, including dot files
$ lsd # List only directories

System

$ cleanup     # Recursively delete `.DS_Store` files
$ emptytrash  # Empty the Trash
$ show        # Show hidden files in Finder
$ hide        # Hide hidden files in Finder
$ showdesktop # Show all desktop icons
$ hidedesktop # Hide all desktop icons
$ afk         # Lock the screen

Network

$ ip       # Public ip address
$ localip  # Local ip address

Hash

$ md5sum [file]  # MD5 hash from file
$ sha1sum [file] # SHA1 hash from file

Misc

$ urlencode # URL-encode strings
$ reload    # Reload the shell
$ path      # Print each PATH entry on a separate line

License

The code is available under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published