Iterm autocomplete5/1/2023 ![]() ![]() 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.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |