Ensure files end with a new line
This commit is contained in:
parent
ab7d4933aa
commit
13fa12c5c3
73 changed files with 1 additions and 72 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1,2 +1 @@
|
|||
ssh/config filter=git-crypt diff=git-crypt
|
||||
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,4 +9,3 @@ config/zsh/.zcompcache
|
|||
config/zsh/.zcompdump
|
||||
config/zsh/.zsh_sessions
|
||||
config/iterm2
|
||||
|
||||
|
|
|
@ -24,4 +24,3 @@ repository.
|
|||
|
||||
[git-crypt]: https://github.com/AGWA/git-crypt
|
||||
[gpg]: https://gnupg.org
|
||||
|
||||
|
|
|
@ -24,4 +24,3 @@ cat <<EOF
|
|||
37m [37m gYw [37m[40m gYw [0m [37m[41m gYw [0m [37m[42m gYw [0m [37m[43m gYw [0m [37m[44m gYw [0m [37m[45m gYw [0m [37m[46m gYw [0m [37m[47m gYw [0m
|
||||
1;37m [1;37m gYw [1;37m[40m gYw [0m [1;37m[41m gYw [0m [1;37m[42m gYw [0m [1;37m[43m gYw [0m [1;37m[44m gYw [0m [1;37m[45m gYw [0m [1;37m[46m gYw [0m [1;37m[47m gYw [0m
|
||||
EOF
|
||||
|
||||
|
|
|
@ -145,4 +145,3 @@ main() {
|
|||
}
|
||||
|
||||
main
|
||||
|
||||
|
|
|
@ -34,4 +34,3 @@ for i in $(seq 0 23); do
|
|||
printf '%b%b%4d ' "$fg" "$bg" "$n"
|
||||
done
|
||||
printf '%b\n' '\e[0m'
|
||||
|
||||
|
|
|
@ -16,4 +16,3 @@ BEGIN {
|
|||
}
|
||||
printf "\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
#!/bin/sh
|
||||
env | sort | grep --color=always '=.*$'
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ exec git config --get-regexp '^alias' \
|
|||
| sed 's/^alias\.//' \
|
||||
| sed 's/ /\t= /' \
|
||||
| sort
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ exec git shortlog --email --numbered --summary "$@" \
|
|||
| awk '{$1=""; sub(" ", ""); print}' \
|
||||
| awk -F'<' '!seen[$1]++' \
|
||||
| awk -F'<' '!seen[$2]++'
|
||||
|
||||
|
|
|
@ -26,4 +26,3 @@ exec git log --all \
|
|||
| uniq -c \
|
||||
| sort -n \
|
||||
| awk 'BEGIN {print "count\tfile"} {print $1 "\t" $2}'
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
# List ignored files.
|
||||
#
|
||||
exec git ls-files --ignored --exclude-standard --others
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -7,4 +7,3 @@ exec git log \
|
|||
--graph \
|
||||
--pretty='%C(auto)%h%d %s %C(8) %ad' \
|
||||
--simplify-by-decoration
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/sh
|
||||
# Head as much as fits on screen
|
||||
exec head -n $(echo "$(tput lines) - 5" | bc) "$@"
|
||||
|
||||
|
|
1
bin/lock
1
bin/lock
|
@ -16,4 +16,3 @@ base64 -d <<EOF | gpg -d
|
|||
%s
|
||||
EOF
|
||||
' "$(gpg -c --cipher-algo AES256 -o - -- "$1" | base64)"
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
#!/bin/sh
|
||||
echo "$MANPATH" | tr -s ":" "\n"
|
||||
|
||||
|
|
1
bin/myip
1
bin/myip
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec curl -s ipinfo.io
|
||||
|
||||
|
|
|
@ -32,4 +32,3 @@ case "$1" in
|
|||
"") error "volume required" ;;
|
||||
*) gen_fstab_entry "$1";;
|
||||
esac
|
||||
|
||||
|
|
1
bin/path
1
bin/path
|
@ -1,3 +1,2 @@
|
|||
#!/bin/sh
|
||||
echo "$PATH" | tr -s ":" "\n"
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/sh
|
||||
# Tail as much as fits on screen
|
||||
exec tail -n $(echo "$(tput lines) - 5" | bc) "$@"
|
||||
|
||||
|
|
|
@ -108,4 +108,3 @@ if __name__ == '__main__':
|
|||
generate = generators[args.terminal]
|
||||
|
||||
print(generate(SOLARIZED, **theme))
|
||||
|
||||
|
|
|
@ -30,4 +30,3 @@ main() {
|
|||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
|
|
|
@ -53,4 +53,3 @@ show = "always"
|
|||
|
||||
# Quit if there is nothing else to escape.
|
||||
quit_on_last_cancel = true
|
||||
|
||||
|
|
|
@ -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)"
|
||||
|
||||
|
|
|
@ -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)"
|
||||
|
||||
|
|
|
@ -76,4 +76,3 @@ execution = ":page_up"
|
|||
[[verbs]]
|
||||
key = "ctrl-d"
|
||||
execution = ":page_down"
|
||||
|
||||
|
|
|
@ -112,4 +112,3 @@
|
|||
path = ~/.config/git/dev@schauenburg.me
|
||||
[includeIf "gitdir:~/.local/src/"]
|
||||
path = ~/.config/git/dev@schauenburg.me
|
||||
|
||||
|
|
|
@ -41,4 +41,3 @@
|
|||
plus-non-emph-style = syntax "#20303b"
|
||||
plus-emph-style = syntax "#2c5a66"
|
||||
plus-style = syntax "#20303b"
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
[user]
|
||||
name = Fernando Schauenburg
|
||||
email = dev@schauenburg.me
|
||||
|
||||
|
|
|
@ -23,4 +23,3 @@ Term=xterm-256color
|
|||
ThemeFile=gruvbox-dark
|
||||
Transparency=off
|
||||
Utmp=yes
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ BoldBlue = #7AA2F7
|
|||
BoldMagenta = #BB9AF7
|
||||
BoldCyan = #7DCFFF
|
||||
BoldWhite = #C0CAF5
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ BoldBlue = #7aa2f7
|
|||
BoldMagenta = #bb9af7
|
||||
BoldCyan = #7dcfff
|
||||
BoldWhite = #c0caf5
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
vim.bo.tabstop = 2
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
vim.bo.commentstring = '// %s'
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
vim.bo.commentstring = '// %s'
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
require("fschauen.util.options").set_gitcommit_buffer_options()
|
||||
|
||||
|
|
|
@ -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: ' "]]))
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
vim.bo.tabstop = 2
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
vim.opt.foldmethod = 'indent'
|
||||
vim.opt.foldignore = '#'
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
vim.opt.tabstop = 2
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
vim.opt.formatoptions:append('t') -- wrap text on 'textwidth'
|
||||
vim.opt.spell = true -- turn on spell checking
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
vim.opt.foldmethod = 'marker'
|
||||
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
vim.opt.tabstop = 2
|
||||
|
||||
|
|
|
@ -229,4 +229,3 @@ M.config = function(--[[plugin]]_, --[[opts]]_)
|
|||
end
|
||||
|
||||
return M
|
||||
|
||||
|
|
1
config/nvim/spell/.gitignore
vendored
1
config/nvim/spell/.gitignore
vendored
|
@ -1,2 +1 @@
|
|||
*.spl
|
||||
|
||||
|
|
|
@ -4,4 +4,3 @@ indent_width = 2
|
|||
quote_style = "AutoPreferDouble"
|
||||
call_parentheses = "NoSingleTable"
|
||||
collapse_simple_statement = "Never"
|
||||
|
||||
|
|
|
@ -260,4 +260,3 @@ Control-k: history-search-backward
|
|||
Control-l: clear-screen
|
||||
Control-a: beginning-of-line
|
||||
Control-e: end-of-line
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -105,4 +105,3 @@ if [ -n "$(uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip')" ]; then
|
|||
fi
|
||||
unset xdisplay
|
||||
fi
|
||||
|
||||
|
|
|
@ -28,4 +28,3 @@ stty stop undef
|
|||
|
||||
# Allow comments in interactive use.
|
||||
setopt INTERACTIVE_COMMENTS
|
||||
|
||||
|
|
|
@ -46,4 +46,3 @@ if command -v nvim >/dev/null 2>&1; then
|
|||
vim="nvim" \
|
||||
vimdiff="nvim -d"
|
||||
fi
|
||||
|
||||
|
|
|
@ -20,4 +20,3 @@ function br {
|
|||
|
||||
# Shortcut to start neovim.
|
||||
bindkey -s '^b' '^ubr\r'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -104,4 +104,3 @@ colors=(
|
|||
|
||||
export EZA_COLORS="${(pj.:.)colors}"
|
||||
unset colors
|
||||
|
||||
|
|
|
@ -7,4 +7,3 @@ case "$1" in
|
|||
../*) (cd .. && mkdir -vp "${1#.}") && cd "$1" ;;
|
||||
*) mkdir -vp "./$1" && cd "./$1";;
|
||||
esac
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -76,4 +76,3 @@ else
|
|||
bindkey -M isearch '^k' history-incremental-search-backward
|
||||
bindkey -M isearch '^y' accept-search
|
||||
fi
|
||||
|
||||
|
|
|
@ -67,4 +67,3 @@ customize_man_pages() {
|
|||
}
|
||||
|
||||
customize_man_pages
|
||||
|
||||
|
|
|
@ -199,4 +199,3 @@ prompt_setup() {
|
|||
}
|
||||
|
||||
prompt_setup
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
# Just find $ZDOTDIR here, everythng will be configured there.
|
||||
export ZDOTDIR="${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}"
|
||||
|
||||
|
|
|
@ -172,4 +172,3 @@ main() {
|
|||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
|
|
BIN
ssh/config
BIN
ssh/config
Binary file not shown.
|
@ -4,4 +4,3 @@ DESTDIR="$HOME"
|
|||
# Git user information.
|
||||
GIT_USER="Fernando Schauenburg"
|
||||
GIT_EMAIL="dev@schauenburg.me"
|
||||
|
||||
|
|
|
@ -394,4 +394,3 @@ main() {
|
|||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
|
@ -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 -
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue