![]() This will download the repositories and show you all possible installation candidates. ![]() Then press the same commands again to run Package Control: Install package. Press Shift+Ctrl+P to open the command prompt and install Package Control first. Install this first with: gem install puppet-lint > ruby 2.6.3p62 ( revision 67580) Install SublimeLinter and configure itįor our example I will use the puppet-lint gem, as I need it every day. Check the running ruby version as follows. Now you should be already able to run ruby or gem in your terminal. This means it is automatically used when you just type ruby in your command line. Now let us install a ruby version and directly make it the default ruby. ] & source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* This will autoload the RVM environment for each ZSH session. To have the new environment ready when you need it including your rubies, add the following line to ~/.zshenv. To load it, restart the current terminal session or invoke source $HOME/.rvm/scripts/rvm once. For that simply execute the following commands in your shiny new ZSH. Next step is to install RVM and a ruby to work with. sudo apt-get -y install zsh git-coreĪfter that, logout of your current desktop session or reboot the machine once.Īfter that, if you want to have all the benefits of oh-my-zsh, just read the Install section in their Readme. To install ZSH on Mint, simply install the package first and then make it your default shell. It's really awesome as it makes working with the shell faster and easier - even for me as a professional day-by-day shell user. ![]() I already switched to ZSH on macOS with Catalina and also used oh-my-zsh together with it. Installing and configuring ZSHīy default Mint comes with the Bash preinstalled and configured. It took me some hours to figure that out as I wanted to solve it differently before. You will see that in the end, the setup is quite easy. The challenge here was to get it work with ZSH as my default shell and RVM. This time I wanted to get Sublime Text with Sublime Linter running again on my new home. ![]() sweet.In my previous posts I took you onto a journey from my old macOS environment to my new home - Linux Mint 19.3 Cinnamon.Īs with every journey, you have quests to solve. yaml or whatever extension you useĢnd edit: it occurs to me that i don't have a yaml linter installed and that's why null was thrown when i run the command. You would change eslint to yamllint and the extension to. as I use SublimeLinter to hook up with eslint (i'm a js dev mostly) my setup is:Ĭhances are you need to install some yaml linter and instead of the eslint member up there (eslint is the command to run in bash fyi) to whatever command you have to lint yaml from your command line (you still have to install a linter) and perhaps define a file extension to lint against.Įdit: if you installed this for example (i just grabbed a url i don't know if this is a good one or not) only change the right bc the defaults reset on each application initialization (read: you'll lose them). This will open a new sublime window with defaults on the left pane and user on the right. Sublime Text > Preferences > Package Settings > SublimeLinter > settings I'm on a mac, so the path here may be different on windows.įrom the menu bar up top. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |