This repository contains my personal configuration for my system. It is designed to work with a macOS system but it should be compatible with UNIX too (I used to have it on a Arch Linux machine before adapting it for my mac).
It contains configuration for:
- brew|cask and pacman|yay
- zsh
- tmux
- vim and nvim (I switched to neovim since a couple of years)
- alacritty
- bookmarker
- git
- OSX (macOS)
- xorg (X11)
Symlinks are managed by stow
.
I like a very simple and short prompt.
Here's the shortest prompt you can get (from the home dir):
~ $
Here's instead the full prompt:
(venv) ~/dev/dir-a 127 a-very-looooooo...oooooong-branch+5 4s $
- virtual environment, if active between parenthesis, colored
- directory, colored
- return code, if != 0, colored
- git branch, length adjustable, shortened in the middle, colored
- dirty files counter, colored
- time that the previous command took, if greater than a customizable threshold, colored
- prompt char (I like the $ sign for it, you can change it to > if you want)
This is a special html page with a bit of javascript in it. It serves me to speed up the process of opening web pages I access frequently for which only one part of the URL is dynamic (think about JIRA issues for instance "https://jira.company.tld/browse/1002").
- Add a bookmark on your browser pointing to:
file:///Users/matt/bookmarker.html#https://jira.company.tld/browse/PROJECT-$
- link to
bookmarker.html
viafile://
protocol - add destination URL as an anchor
- in the destination URL, you can use
$
as a placeholder for the substitution
- link to
- Visit the page with the particular anchor
bookmarker.html
will prompt the variable part in a dialog- the variable part will be subsituted in the destination URL and you'll be redirected to it
See install.sh
and uninstall.sh
for the (un)installation script (untested).