12/10/2023 0 Comments Mac iterm move by word![]() I have updated the gist of my profile here. DefaultPromptSuffix = $ ( '`n❯❯ ' * ( $nestedPromptLevel + 1 )) # This is to prevent an issue where iterm2 throws an error every time the prompt is run if ( $ env : LC_TERMINAL -eq "iTerm2" ) DefaultPromptAbbreviateHomeDirectory = $true $GitPromptSettings. ![]() Import-Module posh-git Import-Module oh-my-posh $gitpromptsettings. The other two aliases are pretty self-explanatory. There are a few things that I have had to add to make my life easier when switching between bash/zsh and PowerShell so that I have consistent commands available to me.Ĭls is too engrained and quicker to type so that has to go in there. I also tend to stick to bash for Azure CLI too for the tab completion and speed it offers. I am now finding that I am using zsh as a primary shell over PowerShell for day to day interaction especially when interacting with git. I have not really played around with this beyond my initial setup which I am quite happy with. I am using PowerLevel9k for my theme which offers some nice customisations. This has changed slightly as I am now on MacOS in the fact that I am now running two different profiles for bash/zsh and one for PowerShell. It comes bundled with thousands of helpful functions, helpers, plugins & themes. Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. There are probably more but these are the ones I can remember adding. Move End of Selection Forward -> Move by Word ITerm2 > Preferences > Profiles > Keys Key Combination The rest of my keyboard shortcuts are listed below (that I can remember adding). Pressing ESC to clear the whole line in the terminal which is familiar behaviour for me and one of the muscle memory options that I want to keep. You can install homebrew from the command line too!Įcho "set completion-ignore-case On" > ~/.inputrc Switching from Windows where I used Chocolatey for my software installation needs, I had heard about homebrew and was keen to make a start with using a decent package manager from the start. ![]() Make the dock appear faster when using auto hide.Unfortunately I do have to keep an Azure VM handy for the very odd ocassion that I may need something Windows specific. The multiple desktops and the trackpad/gestures is an awesome experience. I thought the switch to MacOS was going to be more difficult than it initially was but once I sorted my muscle memory out (mainly for copy and paste) it was a pretty seamless transition. Some stuff won’t have changed too much because, well….there was no need but my way of working has shifted slightly and I spend more time with a split terminal between bash and PowerShell. I have since moved from a Windows laptop to MacOS so I wanted to make a note of customisations and changes so I had a place to track all of them but other people may also find some of them handy. I previously wrote a post on this which was very popular as I tried to document all of my productivity hacks and shortcuts that I use on a daily basis to assist in writing PowerShell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |