Update

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2025-06-30 23:51:44 +0200
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2025-06-30 23:51:44 +0200
Commit 63cf241d930f6532b43e72a6317b516173f5e781 (patch)
-rwxr-xr-x .shenanigans.sh 14
-rw-r--r-- .vimrc 1
2 files changed, 12 insertions, 3 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh
1
# Software list (Void Linux):
1
# Software list (Void Linux):
2
#   void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree
2
#   void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree
3
#   file-roller xfce4-screenshooter xsetroot
3
#   file-roller xfce4-screenshooter xfce4-plugins xsetroot thunar-archive-plugin
4
#   clang clang-tools-extra vim stow git curl tmux hstr tree make cmake
4
#   clang clang-tools-extra vim stow git curl tmux hstr tree make cmake
5
#   entr ack lazygit newsboat htop
5
#   entr ack lazygit newsboat htop mc
6
  
6
  
7
# Only run if the script is being sourced (bashrc).
7
# Only run if the script is being sourced (bashrc).
8
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then
8
if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then
...
12
	export VISUAL=vim
12
	export VISUAL=vim
13
	export EDITOR=vim
13
	export EDITOR=vim
14
  
14
  
  
15
	git_branch() {
  
16
		git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
  
17
	}
  
18
  
15
	# Better prompt.
19
	# Better prompt.
16
	export PS1="\n# \u@\h \T \w\n# "
20
	export PS1='\n# \u@\h \T \w $(git_branch)\n# '
17
  
21
  
18
	# General aliases.
22
	# General aliases.
19
	alias l='ls -lh'
23
	alias l='ls -lh'
...
45
	export HSTR_CONFIG=hicolor
49
	export HSTR_CONFIG=hicolor
46
	if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi
50
	if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi
47
fi
51
fi
  
52
  
  
53
wow() {
  
54
	cd ~/Games/turtlewow && ./wow.sh
  
55
}
diff --git a/.vimrc b/.vimrc
...
31
let g:ale_detail_to_floating_preview = 1
31
let g:ale_detail_to_floating_preview = 1
32
let g:ale_virtualtext_cursor = 0
32
let g:ale_virtualtext_cursor = 0
33
let g:ale_set_quickfix = 1
33
let g:ale_set_quickfix = 1
  
34
let g:ale_linters = { 'c': ['clangd'], 'cpp': ['clangd'] }