在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ryanb/dotfiles开源软件地址:https://github.com/ryanb/dotfiles开源编程语言:Vim Script 98.4%开源软件介绍:Ryan Bates Dot FilesThese are config files to set up a system the way I like it. It now uses Oh My ZSH. If you would like to see my old, custom Bash and ZSH config, check out this branch I am running on Mac OS X, but it will likely work on Linux as well. InstallationRun the following commands in your terminal. It will prompt you before it does anything destructive. Check out the Rakefile to see exactly what it does.
After installing, open a new terminal window to see the effects. Feel free to customize the .zshrc file to match your preference. FeaturesMany of the following features are added through the "rbates" Oh My ZSH plugin. I normally place all of my coding projects in ~/code, so this directory can easily be accessed (and tab completed) with the "c" command.
There is also an "h" command which behaves similar, but acts on the home path.
Tab completion is also added to rake and cap commands:
To speed things up, the results are cached in local .rake_tasks~ and .cap_tasks~. It is smart enough to expire the cache automatically in most cases, but you can simply remove the files to flush the cache. If you're using git, you'll notice the current branch name shows up in the prompt while in a git repository. There are several features enabled in Ruby's irb including history and completion. Many convenience methods are added as well such as "ri" which can be used to get inline documentation in IRB. See irbrc file for details. UninstallTo remove the dotfile configs, run the following commands. Be certain to double check the contents of the files before removing so you don't lose custom settings.
Then open a new terminal window to see the effects. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论