Skip to content

Instantly share code, notes, and snippets.

# Modified sorin prompt that show the last command execution time as the last bit of the right prompt
# name: Sorin
# author: Leonard Hecker <leonard@hecker.io>
# Sources:
# - General theme setup: https://github.com/sorin-ionescu/prezto/blob/d275f316ffdd0bbd075afbff677c3e00791fba16/modules/prompt/functions/prompt_sorin_setup
# - Extraction of git info: https://github.com/sorin-ionescu/prezto/blob/d275f316ffdd0bbd075afbff677c3e00791fba16/modules/git/functions/git-info#L180-L441
function human_time --description "Convert milliseconds to human readable time"
set -l ms $argv[1]
@fiveNinePlusR
fiveNinePlusR / postgresql_plus_arch-linux.md
Created December 20, 2025 21:07 — forked from NickMcSweeney/postgresql_plus_arch-linux.md
Getting postgresql running on Arch Linux

Setup Postgresql

run postgresql with systemctl

Install postgres

latest

sudo pacman -S postgresql

specific version

find version & build from source