2/28/2023 0 Comments Gd stash wrong directory![]() ![]() Spawn a simple HTTP server on port 8000 serving the current directory. Here we get to some of the more interesting aliases. ![]() alias k= 'kubectl' # shorthand for working with kubernetes alias clj= 'clj-env-dir' # Clojure helper alias clr= 'clear echo "Currently logged in on $( tty ), as $( whoami ) in directory $( pwd )."' alias tt= 'tt++ $HOME/.ttconf' alias svim= "sudo vim" # Run vim as super user alias emc= "emacsclient -n" # no blocking terminal waiting for edit # Helpers alias grep= 'grep -color=auto' # Always highlight grep search term alias ping= 'ping -c 5' # Pings with 5 packets, not unlimited alias df= 'df -h' # Disk free, in gigabytes, not bytes alias du= 'du -h -c' # Calculate total disk usage for a folder alias sgi= 'sudo gem install' # Install ruby stuff alias be= 'bundle exec' # shortcut for ruby environment activation alias dc= 'docker-compose' # invoke docker-compose, which takes too long to type. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |