
My original post is still very much valid and most of the shortcuts I have copied over and work just fine. I have been trying to get better with this instead of just defaulting to PowerShell but the data manipulation and objects that Pwsh provides it’s a tough ask. So I have written already about how I use AzureCLI & PowerShell together but I was also made aware of jq which I suppose is similar to how I would normally use ConvertFrom-Json or ConvertFrom-Json. You need to check it out if you haven’t already. I use Azure functions a lot, both PowerShell and C# and being able to develop these in a container without having to have the Az Functions Core tools or npm or any of the extensions installed locally is a dream. The above post covers pretty much everything you need to get started with that but using docker as a development enviroment has been a game changer.
ITERM2 SHORTCUTS CODE
I wrote about Developing Pwsh Azure Functions inside a Container some time ago and it was really my my first foray into using docker as a daily tool but this is now how I work every day for most of the repositories and code that I write. 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.
ITERM2 SHORTCUTS INSTALL
You can install homebrew from the command line too!Įcho "set completion-ignore-case On" > ~/.inputrc

ITERM2 SHORTCUTS SOFTWARE
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.
