Skip to content

marmalodak/home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

punkte

punkte

Backround info:

On a new installation, I usually want:

# 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

Trouble

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

Listing 1. submodule example
    [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

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 install "ruby-2.7.8
rvm use ruby-2.7 --default
rvm install asciidoctor-diagram

I had trouble installing ruby on my m2 mbp

rvm install ruby-3.3.0 --with-openss-dir=$(brew --prefix openssl@3)
Listing 2. These are required for 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

perl

  1. cpan

  2. cpan App::cpanminus

  3. App::Asciio

check these out

  • Yazi

  • Arai2

  • FastFetch

  • erdtree

  • Dust

  • tealdear

Bookmarks for future projects

Notes

ubuntu

  1. eza

  2. apt install build-essential for make and gcc

  3. apt install fd-find for fd * DO NOT INSTALL fdclone *

Key Repeat Rate mac: macOS need restart

defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10

Linux Key Repeat Rate

xset r rate 210 40

Historical notes

  • The powerline module gave me too much trouble, so I’m configuring that manually now, so I don’t need the python virtual environment anymore

Listing 3. Default .zshrc ubuntu 22
# Set up the prompt

autoload -Uz promptinit
promptinit
prompt adam1

setopt histignorealldups sharehistory

# Use emacs keybindings even if our EDITOR is set to vi
bindkey -e

# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history

# Use modern completion system
autoload -Uz compinit
compinit

zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' menu select=2
eval "$(dircolors -b)"
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true

zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'

About

My personal dot files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published