-
I learned about using GIT-DIR and WORK-DIR for dotfiles from:
-
https://news.ycombinator.com/item?id=25564555, the whole thread is about dotfiles
-
https://news.opensuse.org/2020/03/27/Manage-dotfiles-with-Git/
-
on openwrt I needed to install git, git-http
-
exa
has been abandoned, but there is a better tool calledeza
# git clone https://github.com/marmalodak/home ~/.punkte # switch to using ssh on github
git clone git@github.com:marmalodak/home.git ~/.punkte
git -C $HOME/.punkte/.git --git-dir=$HOME/.punkte/.git --work-tree=$HOME checkout -- $HOME
# open a new shell, then:
punkt reset --hard # when re-installing dotfiles into a messed up $HOME
# punkt pull --rebase --recurse-submodules --verbose --stat
punkt-auf
p10k configure
Before being able to push:
[user]
name = John Schmitt
email = marmalodak@gmail.com
YTF is there a colon in the path to zsh-edit
? The URL should be url = https://github.com/marlonrichert/zsh-edit.git
, not url = https://github.com:marlonrichert/zsh-edit.git
. How did that happen?
NB: submodules need to be absolute paths relative to $HOME
[submodule ".vim/pack/vim8/start/vim-tmux-pilot"]
path = .vim/pack/vim8/start/vim-tmux-pilot
url = https://github.com/urbainvaes/vim-tmux-pilot
When punkt-auf
fails because a submodule will not update because it wants to rebase (WHY???)
For example, powerlevel10k
:
rm -rf .powerlevel10k punkt-aufbau punkt pull --rebase --recurse-submodules --verbose --stat
When punkt-auf
fails because a submodule cannot be found in .gitmodules:
punkt rm --cached .vim/pack/vim8/start/vim-plugin-AnsiEsc
oh-my-zsh source
ohmyzsh
is a git submodule.
Open a new terminal to invoke the punkte (née dotfiles)
See also punkt-neu()
in .zshrc
brew bundle install Brewfile
which was created from brew bundle dump
fonts require svn
rvm source
The RVM installer is beautiful bash code, going to read it and improve my shell game
rvm use ruby-2.7 --default
rvm install asciidoctor-diagram
asciio
brew install glib
brew install cairo
brew install gtk+
brew install gtk+3 gtk4 gtkextra pango
Might be time to give up on drawing in asciidoctor or vim and use PlantUML, graphviz, pikchr
apg
is a great password generator.
-
stderr in red https://stackoverflow.com/questions/6841143/how-to-set-font-color-for-stdout-and-stderr/21320645#21320645
-
https://typer.tiangolo.com/ CLI apps, uses click,
-
https://github.com/willmcgugan/rich rich text and colours in a terminal
-
https://github.com/onelivesleft/PrettyErrors better looking stack traces
-
https://www.reddit.com/r/git/comments/ko3tnf/gitcompletion_13_released/ git-completion
-
defaults write com.apple.dock autohide-delay -float 0; killall Dock
-
defaults write com.apple.dock autohide-time-modifier -float 0; killall Dock
-
defaults write com.apple.dock no-bouncing -bool TRUE
; killall Dock # stop the dock icons from bouncing when they want attention -
defaults write com.apple.Dock appswitcher-all-displays -bool true
# app switcher on all displays https://gist.github.com/jthodge/c4ba15a78fb29671dfa072fe279355f0 -
https://news.ycombinator.com/item?id=26499062 focalboard, self-hosted alternative to trello…
-
https://github.com/natethinks/jog/ remind me: what was I last doing in this directory
-
https://github.com/vimpostor/vim-tpipeline put the vim status line into tmux’s status line
-
https://news.ycombinator.com/item?id=26314489 elegant bash conditionals, thread is more helpful than the post
-
https://news.ycombinator.com/item?id=26303784 generate flowcharts from text, way more in the thread than I knew about
-
https://github.com/crescentrose/dotfiles/blob/fed147052acb3a9249e0c5b5a042d97abcb70c55/bin/chtheme change kitty colors, maybe based on dark or light
-
http://evantravers.com/articles/2019/07/30/toggling-kitty-and-neovim-background-using-osx-s-dark-mode-setting/ ⇒ https://github.com/evantravers/dotfiles/compare/084d4737b4dcdd0877520dcc1ba4e02224e4bdd0…2f5a3d18274499970922752d39fc917e4bf0d39b
-
zsh setopt SHARED_HISTORY and append_history, is SHARED_HISTORY why control+p shows things from a different session?
-
https://www.reddit.com/r/selfhosted/comments/m9zhoy/what_are_some_lesser_known_services_that_have
-
https://venthur.de/2021-03-31-python-makefiles.html venv target should depend on requirements.txt and setup.py?
-
not sure it adds anything beyond practicing salt
-
https://www.reddit.com/r/saltstack/comments/li7g81/im_using_salt_to_manage_a_dotfiles_repo_with/
-
-
apt install build-essential
for make and gcc -
apt install fd-find
for fd * DO NOT INSTALLfdclone
*
-
more here: https://github.com/pctony/ConfigMyMac
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10