Ensure files end with a new line

This commit is contained in:
Fernando Schauenburg 2024-07-14 12:54:15 +02:00
parent ab7d4933aa
commit 13fa12c5c3
73 changed files with 1 additions and 72 deletions

1
.gitattributes vendored
View file

@ -1,2 +1 @@
ssh/config filter=git-crypt diff=git-crypt

1
.gitignore vendored
View file

@ -9,4 +9,3 @@ config/zsh/.zcompcache
config/zsh/.zcompdump
config/zsh/.zsh_sessions
config/iterm2

View file

@ -24,4 +24,3 @@ repository.
[git-crypt]: https://github.com/AGWA/git-crypt
[gpg]: https://gnupg.org

View file

@ -24,4 +24,3 @@ cat <<EOF
37m  gYw  gYw   gYw   gYw   gYw   gYw   gYw   gYw   gYw 
1;37m  gYw  gYw   gYw   gYw   gYw   gYw   gYw   gYw   gYw 
EOF

View file

@ -145,4 +145,3 @@ main() {
}
main

View file

@ -34,4 +34,3 @@ for i in $(seq 0 23); do
printf '%b%b%4d ' "$fg" "$bg" "$n"
done
printf '%b\n' '\e[0m'

View file

@ -16,4 +16,3 @@ BEGIN {
}
printf "\n";
}

View file

@ -1,3 +1,2 @@
#!/bin/sh
env | sort | grep --color=always '=.*$'

View file

@ -6,4 +6,3 @@ exec git config --get-regexp '^alias' \
| sed 's/^alias\.//' \
| sed 's/ /\t= /' \
| sort

View file

@ -6,4 +6,3 @@ exec git shortlog --email --numbered --summary "$@" \
| awk '{$1=""; sub(" ", ""); print}' \
| awk -F'<' '!seen[$1]++' \
| awk -F'<' '!seen[$2]++'

View file

@ -26,4 +26,3 @@ exec git log --all \
| uniq -c \
| sort -n \
| awk 'BEGIN {print "count\tfile"} {print $1 "\t" $2}'

View file

@ -3,4 +3,3 @@
# List ignored files.
#
exec git ls-files --ignored --exclude-standard --others

View file

@ -6,4 +6,3 @@ set -e
git init
git commit --allow-empty -m "Initial commit"
git log --graph --pretty='%C(auto)%h%d %s %C(8) %ad'

View file

@ -7,4 +7,3 @@ exec git log \
--graph \
--pretty='%C(auto)%h%d %s %C(8) %ad' \
--simplify-by-decoration

View file

@ -1,4 +1,3 @@
#!/bin/sh
# Head as much as fits on screen
exec head -n $(echo "$(tput lines) - 5" | bc) "$@"

View file

@ -16,4 +16,3 @@ base64 -d <<EOF | gpg -d
%s
EOF
' "$(gpg -c --cipher-algo AES256 -o - -- "$1" | base64)"

View file

@ -1,3 +1,2 @@
#!/bin/sh
echo "$MANPATH" | tr -s ":" "\n"

View file

@ -6,4 +6,3 @@
exec curl -s https://ifconfig.co
#exec curl -s https://ifconfig.me
#exec dig +short myip.opendns.com @resolver1.opendns.com

View file

@ -1,3 +1,2 @@
#!/bin/sh
exec curl -s ipinfo.io

View file

@ -32,4 +32,3 @@ case "$1" in
"") error "volume required" ;;
*) gen_fstab_entry "$1";;
esac

View file

@ -1,3 +1,2 @@
#!/bin/sh
echo "$PATH" | tr -s ":" "\n"

View file

@ -11,4 +11,3 @@ printf '%b\n' "\e[7mThis text has the reverse (tput rev) attribute.${reset}"
printf '%b\n' "\e[8mThis text has the invisible (tput invis) attribute.${reset}"
printf '%b\n' "\e[9mThis text has the strikethrough (tput ?) attribute.${reset}"
printf '%b\n' "\e[21mThis text has the double underline (tput ?) attribute.${reset}"

View file

@ -1,4 +1,3 @@
#!/bin/sh
# Tail as much as fits on screen
exec tail -n $(echo "$(tput lines) - 5" | bc) "$@"

View file

@ -108,4 +108,3 @@ if __name__ == '__main__':
generate = generators[args.terminal]
print(generate(SOLARIZED, **theme))

View file

@ -30,4 +30,3 @@ main() {
}
main "$@"

View file

@ -53,4 +53,3 @@ show = "always"
# Quit if there is nothing else to escape.
quit_on_last_cancel = true

View file

@ -94,4 +94,3 @@ good_to_bad_6 = "rgb(203, 166, 247)"
good_to_bad_7 = "rgb(250, 179, 135)"
good_to_bad_8 = "rgb(235, 160, 172)"
good_to_bad_9 = "rgb(243, 139, 168)"

View file

@ -94,4 +94,3 @@ good_to_bad_6 = "rgb(203, 166, 247)"
good_to_bad_7 = "rgb(250, 179, 135)"
good_to_bad_8 = "rgb(235, 160, 172)"
good_to_bad_9 = "rgb(243, 139, 168)"

View file

@ -76,4 +76,3 @@ execution = ":page_up"
[[verbs]]
key = "ctrl-d"
execution = ":page_down"

View file

@ -112,4 +112,3 @@
path = ~/.config/git/dev@schauenburg.me
[includeIf "gitdir:~/.local/src/"]
path = ~/.config/git/dev@schauenburg.me

View file

@ -41,4 +41,3 @@
plus-non-emph-style = syntax "#20303b"
plus-emph-style = syntax "#2c5a66"
plus-style = syntax "#20303b"

View file

@ -1,4 +1,3 @@
[user]
name = Fernando Schauenburg
email = dev@schauenburg.me

View file

@ -23,4 +23,3 @@ Term=xterm-256color
ThemeFile=gruvbox-dark
Transparency=off
Utmp=yes

View file

@ -22,4 +22,3 @@ BoldBlue = #7AA2F7
BoldMagenta = #BB9AF7
BoldCyan = #7DCFFF
BoldWhite = #C0CAF5

View file

@ -22,4 +22,3 @@ BoldBlue = #7aa2f7
BoldMagenta = #bb9af7
BoldCyan = #7dcfff
BoldWhite = #c0caf5

View file

@ -1,2 +1 @@
vim.bo.tabstop = 2

View file

@ -1,2 +1 @@
vim.bo.commentstring = '// %s'

View file

@ -1,2 +1 @@
vim.bo.commentstring = '// %s'

View file

@ -1,2 +1 @@
require("fschauen.util.options").set_gitcommit_buffer_options()

View file

@ -16,4 +16,3 @@ vim.keymap.set('n', [[<localleader>']], [[:.s/"/'/g | nohl<cr>]], opts([[Replace
vim.keymap.set('n', [[<localleader>"]], [[:.s/'/"/g | nohl<cr>]], opts([[Replace: ' 󱦰 "]]))
vim.keymap.set('x', [[<localleader>']], [[:s/"/'/g | nohl<cr>]], opts([[Replace: " 󱦰 ']]))
vim.keymap.set('x', [[<localleader>"]], [[:s/'/"/g | nohl<cr>]], opts([[Replace: ' 󱦰 "]]))

View file

@ -1,4 +1,3 @@
vim.bo.tabstop = 2
vim.opt.formatoptions:append('t') -- wrap text on 'textwidth'
vim.opt.spell = true -- turn on spell checking

View file

@ -1,2 +1 @@
vim.bo.tabstop = 2

View file

@ -1,3 +1,2 @@
vim.opt.foldmethod = 'indent'
vim.opt.foldignore = '#'

View file

@ -1,2 +1 @@
vim.opt.tabstop = 2

View file

@ -1,3 +1,2 @@
vim.opt.formatoptions:append('t') -- wrap text on 'textwidth'
vim.opt.spell = true -- turn on spell checking

View file

@ -1,2 +1 @@
vim.opt.foldmethod = 'marker'

View file

@ -1,2 +1 @@
vim.opt.tabstop = 2

View file

@ -229,4 +229,3 @@ M.config = function(--[[plugin]]_, --[[opts]]_)
end
return M

View file

@ -1,2 +1 @@
*.spl

View file

@ -4,4 +4,3 @@ indent_width = 2
quote_style = "AutoPreferDouble"
call_parentheses = "NoSingleTable"
collapse_simple_statement = "Never"

View file

@ -260,4 +260,3 @@ Control-k: history-search-backward
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line

View file

@ -124,4 +124,3 @@ set -g pane-border-style fg=black
set -g pane-active-border-style fg=brightblack
set -g message-style fg=brightwhite,bg=black
set -g message-command-style fg=yellow,bg=black

View file

@ -105,4 +105,3 @@ if [ -n "$(uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip')" ]; then
fi
unset xdisplay
fi

View file

@ -28,4 +28,3 @@ stty stop undef
# Allow comments in interactive use.
setopt INTERACTIVE_COMMENTS

View file

@ -46,4 +46,3 @@ if command -v nvim >/dev/null 2>&1; then
vim="nvim" \
vimdiff="nvim -d"
fi

View file

@ -20,4 +20,3 @@ function br {
# Shortcut to start neovim.
bindkey -s '^b' '^ubr\r'

View file

@ -71,4 +71,3 @@ bindkey -M menuselect 'G' end-of-history
# Page down/up.
bindkey -M menuselect 'f' vi-forward-word
bindkey -M menuselect 'b' vi-backward-word

View file

@ -104,4 +104,3 @@ colors=(
export EZA_COLORS="${(pj.:.)colors}"
unset colors

View file

@ -7,4 +7,3 @@ case "$1" in
../*) (cd .. && mkdir -vp "${1#.}") && cd "$1" ;;
*) mkdir -vp "./$1" && cd "./$1";;
esac

View file

@ -41,4 +41,3 @@ export FZF_CTRL_R_OPTS=--border-label='" History search "'
export FZF_ALT_C_OPTS=--border-label='" Change directory "'
unset fzf_colors fzf_bindings fzf_defaults

View file

@ -6,4 +6,3 @@ setopt HIST_IGNORE_ALL_DUPS # Don't add duplicates to history.
HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/zsh/history"
HISTSIZE=1000000
SAVEHIST=1000000

View file

@ -76,4 +76,3 @@ else
bindkey -M isearch '^k' history-incremental-search-backward
bindkey -M isearch '^y' accept-search
fi

View file

@ -67,4 +67,3 @@ customize_man_pages() {
}
customize_man_pages

View file

@ -199,4 +199,3 @@ prompt_setup() {
}
prompt_setup

View file

@ -78,4 +78,3 @@
# <Multi_key> <^> <^> <X> : "" # Superscript X (character to be punblished)
# <Multi_key> <^> <^> <Y> : "" # Superscript Y (character to be punblished)
# <Multi_key> <^> <^> <Z> : "" # Superscript Z (character to be punblished)

View file

@ -1,3 +1,2 @@
# Just find $ZDOTDIR here, everythng will be configured there.
export ZDOTDIR="${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}"

View file

@ -172,4 +172,3 @@ main() {
}
main "$@"

Binary file not shown.

View file

@ -4,4 +4,3 @@ DESTDIR="$HOME"
# Git user information.
GIT_USER="Fernando Schauenburg"
GIT_EMAIL="dev@schauenburg.me"

View file

@ -394,4 +394,3 @@ main() {
}
main "$@"

View file

@ -31,4 +31,3 @@ xterm-256color|xterm with 256 colors and italic,
tmux-256color|tmux with 256 colors and italic,
sitm=\e[3m, ritm=\e[23m,
use=screen-256color,

View file

@ -12,4 +12,3 @@ GPG_TTY=$(tty) # Needed so we can decrypt from stdin.
export GPG_TTY
echo "$KEY" | base64 -d | gpg -d | git crypt unlock -