Skip to content.

my Vim

This is my .vimrc, I find it benefitial to use this where I do development to normalise my editor across different operating systems, and to enable some useful untapped features to make Vim feel a bit less prehistoric.

Read more →

Windows Terminal - Change default profile

Open the new tab dropdown, found to the right of your tabs: Windows Terminal new tab dropdown Click “Settings”, this will open a JSON file (for now) which looks something like this: { "defaultProfile": "{987-654-321}", "profiles": [ { "guid": "{987-654-321}", "hidden": false, "name": "Debian", "source": "Windows.Terminal.Wsl" }, { "guid": "{123-456-789}", "name": "Windows PowerShell", "commandline": "powershell.exe", "hidden": false }, Copy the guid value from whichever flavour of Linux you want to set as default. Read more →

Useful Unixisms

Here’s a list of useful piped commands or just commands for which I need a refresher on which arguments to use. For example, using Awk to print between two known lines, or seleting a line in sed are good examples of infrequently used commands which are really useful.

Read more →

Github CLI headless install

Download & Install Github CLI. Run gh pr status, you will be prompted to connect gh to your Github account, open the link it generates in a web browser, login and authorize the application. You will be redirected to a localhost address, copy the full address. Now you will need another terminal open one the same system, use wget/curl to pass the authorization onto the gh client: wget -O- GITHUB_URL Read more →

Git feature branch & merge

Start with your master branch git checkout master git fetch origin If your local master has been modified, you can reset its state. git reset --hard origin/master Checkout a new feature branch. git checkout -b my-feature Make changes in this branch, committing as usual. git add file.txt git commit -m "add my file.txt" You can push your branch to allow others and yourself to evaluate and commit further to it. Read more →


I find myself working on the move a lot more recently and I often have to deal with poor terminal emulators, iffy connectivity and sometimes I need resume my work on another machine entirely. As such I am trying out tmux as a way of persisting my working environment between sessions, supporting multiple tabs for when my emulator lacks it (Looking at you PuTTY, Git Bash) and lastly allowing me to resume my work on another desktop.

Read more →
Joe Heaton



Joe’s technology-focused murmurings.