![]() Feel free to list some of your favorites in the comments below. I hope this list helps make your flow faster and your life easier. Note: The file ~/.zshrc is where you store your aliases now, so if you’ve been following along and adding items to your ~./bash_profile, then you’ll want to transfer those over to your new ~/.zshrc file. It even lists some git info automagically: Now, edit ~/.zshrc on this line with your new theme’s name: To install Oh My Zsh: curl -L | ZSH =~/.dotfiles/zsh shįirst, pick a theme. If your terminal is easier to read, you can scan the info you need faster. For simplicity, let’s use Oh My Zsh to beautify our shell with a theme. Oh My Zsh can do a lot to make your life easier. Oh My Zsh Can Turn Your Terminal into Something You Want to Look At To install The Silver Searcher: brew install the_silver_searcher 5. You are now free to toss grep out the window. Can’t remember where that pesky button component was placed in an inherited project? Type: ag search-string folder-name The Silver Searcher is my favorite command line search tool. The Silver Searcher Lets You Quickly Search Files and Folders bash_profile to generate a shortcut in your Applications folder: export HOMEBREW_CASK_OPTS = "-appdir=/Applications" 4. Note: The install location can get a little weird. You can search for Casks by typing: brew cask search application-name To install homebrew cask: brew install caskroom/cask/brew-cask When you need to download an application, do you: Google the program, download it and manually drag the file to the Applications folder? Homebrew Cask can download and install it for you with a single line: brew cask install application-name Homebrew Cask Installs Apps from the Shell Oh My Posh is a custom prompt engine for any shell that has the ability to adjust the prompt string with a function or variable. bash_profile: transfer ( ) alias transfer =transfer 3. Share Files with transfer.shĮver need to quickly send a database or site folder to a client or colleague? With transfer.sh, you can share the file with one command: transfer filename To install autojump: brew install autojumpĪutojump learns about directories as you use them, so make sure to navigate to a few of your favorites before you start using. Get to Directories Faster with autojumpĮver find yourself laboriously typing the path of a theme directory seven folders deep? With autojump, you only have to type the folder name, and you're there.ĭo you type: cd ~/Sites/drupal/docroot/sites/all/themes/example-theme Optional: iTerm2 (My favorite terminal program)ġ.Introduction to the Mac OS X Command Line.Don’t have either and unsure where to start? No worries, I’ve got you covered: Note: This list assumes you’re comfortable with basic commands and have homebrew installed. If you’re only using the terminal to navigate directories or change permissions, here’s a list of some awesome utilities that can help you work faster and kick butt in the command line interface. I remember when I viewed the command line as some esoteric art only used by the Wizards of the Back-End. Some or all of the details may be inaccurate or no longer applicable. I just tried using zsh with the instructions autojump shows on install and it works fine for me.This content was published 8 years ago. This sounds like an OMZ issue, where it needs to be updated for the latest changes to autojump. The autojump.sh file detects the current shell and loads the correct file from another location in the current version. That's all you'll see on a non-macports install of the latest autojump as well. However, on a brand new fresh install I'm seeing only autojump.sh and nothing else at all. ![]() OMZ is looking for autojump.zsh, and in an earlier MacPorts install profile.d did contain autojump.bash, autojump.sh, and autojump.zsh. The actual core autojump shell setup called for MacPorts is in /opt/local/etc/profile.d, but that may be an issue here. The OMZ autojump "plugin" is a simple nested if that just aims to automatically select the right profile of autojump depending on whether it was installed manually or one of the various package managers out there. Replying to this in zsh using OMZ as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |