From 4ab9c61774733aa68b6eb8cf03f3ad747b46c698 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 28 Mar 2016 15:17:58 +1300 Subject: Remove blank lines at end of files --- bash/bash_completion | 1 - bash/bash_logout | 1 - bash/bash_profile | 1 - bash/bash_profile.d/fortune.bash | 1 - bash/bash_profile.d/remind.bash | 1 - bash/bash_profile.d/verse.bash | 1 - bash/bashrc | 1 - bash/bashrc.d/apf.bash | 1 - bash/bashrc.d/bc.bash | 1 - bash/bashrc.d/bd.bash | 1 - bash/bashrc.d/bell.bash | 1 - bash/bashrc.d/ca.bash | 1 - bash/bashrc.d/cd.bash | 1 - bash/bashrc.d/cf.bash | 1 - bash/bashrc.d/clwr.bash | 1 - bash/bashrc.d/completion.bash | 1 - bash/bashrc.d/diff.bash | 1 - bash/bashrc.d/ed.bash | 1 - bash/bashrc.d/fnl.bash | 1 - bash/bashrc.d/ftp.bash | 1 - bash/bashrc.d/gdb.bash | 1 - bash/bashrc.d/git.bash | 1 - bash/bashrc.d/gpg.bash | 1 - bash/bashrc.d/grep.bash | 1 - bash/bashrc.d/hgrep.bash | 1 - bash/bashrc.d/keep.bash | 1 - bash/bashrc.d/keychain.bash | 1 - bash/bashrc.d/ls.bash | 1 - bash/bashrc.d/make.bash | 1 - bash/bashrc.d/man.bash | 1 - bash/bashrc.d/md.bash | 1 - bash/bashrc.d/mkcd.bash | 1 - bash/bashrc.d/mkcp.bash | 1 - bash/bashrc.d/mkmv.bash | 1 - bash/bashrc.d/mysql.bash | 1 - bash/bashrc.d/pa.bash | 1 - bash/bashrc.d/pass.bash | 1 - bash/bashrc.d/path.bash | 1 - bash/bashrc.d/paz.bash | 1 - bash/bashrc.d/pd.bash | 1 - bash/bashrc.d/prompt.bash | 1 - bash/bashrc.d/pushd.bash | 1 - bash/bashrc.d/pwgen.bash | 1 - bash/bashrc.d/rcsdiff.bash | 1 - bash/bashrc.d/readv.bash | 1 - bash/bashrc.d/readz.bash | 1 - bash/bashrc.d/scp.bash | 1 - bash/bashrc.d/scr.bash | 1 - bash/bashrc.d/sd.bash | 1 - bash/bashrc.d/sprunge.bash | 1 - bash/bashrc.d/ssh.bash | 1 - bash/bashrc.d/sudo.bash | 1 - bash/bashrc.d/tmux.bash | 1 - bash/bashrc.d/ud.bash | 1 - bash/bashrc.d/vared.bash | 1 - bash/bashrc.d/vim.bash | 1 - bash/bashrc.d/vis.bash | 1 - bash/bashrc.d/vr.bash | 1 - 58 files changed, 58 deletions(-) (limited to 'bash') diff --git a/bash/bash_completion b/bash/bash_completion index b42dfd77..84ad72eb 100644 --- a/bash/bash_completion +++ b/bash/bash_completion @@ -1,4 +1,3 @@ # This file prevents bash-completion from loading from its /etc/profile.d # script if installed shopt -u progcomp - diff --git a/bash/bash_logout b/bash/bash_logout index 4b8d3943..da758588 100644 --- a/bash/bash_logout +++ b/bash/bash_logout @@ -15,4 +15,3 @@ fi # Write PWD to a file if set printf '%s\n' "$PWD" > "${OLDPWD_FILE:-$HOME/.oldpwd}" - diff --git a/bash/bash_profile b/bash/bash_profile index f89d83f1..8f84597d 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -27,4 +27,3 @@ fi if [[ -e $HOME/.bashrc ]] ; then source "$HOME"/.bashrc fi - diff --git a/bash/bash_profile.d/fortune.bash b/bash/bash_profile.d/fortune.bash index 5105b02d..e4da485d 100644 --- a/bash/bash_profile.d/fortune.bash +++ b/bash/bash_profile.d/fortune.bash @@ -17,4 +17,3 @@ fi fortune -sn "${FORTUNE_MAXSIZE:-768}" "$FORTUNE_PATH" printf '\n' ) - diff --git a/bash/bash_profile.d/remind.bash b/bash/bash_profile.d/remind.bash index 92f13924..a8f14599 100644 --- a/bash/bash_profile.d/remind.bash +++ b/bash/bash_profile.d/remind.bash @@ -20,4 +20,3 @@ fi done < <(rem -hq) printf '\n' ) - diff --git a/bash/bash_profile.d/verse.bash b/bash/bash_profile.d/verse.bash index f463d074..69c48021 100644 --- a/bash/bash_profile.d/verse.bash +++ b/bash/bash_profile.d/verse.bash @@ -22,4 +22,3 @@ fi printf '%s\n' "$date" > "$versefile" fi ) - diff --git a/bash/bashrc b/bash/bashrc index ddd3ce3b..383273c3 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -114,4 +114,3 @@ if [[ -d $HOME/.bashrc.d ]] ; then done unset -v bashrc fi - diff --git a/bash/bashrc.d/apf.bash b/bash/bashrc.d/apf.bash index a9cd115e..8ffa7953 100644 --- a/bash/bashrc.d/apf.bash +++ b/bash/bashrc.d/apf.bash @@ -97,4 +97,3 @@ apf() { # command line as passed to the function command "$cmd" "${args[@]}" "$@" } - diff --git a/bash/bashrc.d/bc.bash b/bash/bashrc.d/bc.bash index 7cad9a52..1a963708 100644 --- a/bash/bashrc.d/bc.bash +++ b/bash/bashrc.d/bc.bash @@ -2,4 +2,3 @@ bc() { command bc -q "$@" } - diff --git a/bash/bashrc.d/bd.bash b/bash/bashrc.d/bd.bash index 20274f56..3850e973 100644 --- a/bash/bashrc.d/bd.bash +++ b/bash/bashrc.d/bd.bash @@ -99,4 +99,3 @@ _bd() { done } complete -F _bd bd - diff --git a/bash/bashrc.d/bell.bash b/bash/bashrc.d/bell.bash index 1107b804..7f8c8444 100644 --- a/bash/bashrc.d/bell.bash +++ b/bash/bashrc.d/bell.bash @@ -2,4 +2,3 @@ bell() { printf '\a' } - diff --git a/bash/bashrc.d/ca.bash b/bash/bashrc.d/ca.bash index bda6c5cb..819cae4c 100644 --- a/bash/bashrc.d/ca.bash +++ b/bash/bashrc.d/ca.bash @@ -2,4 +2,3 @@ ca() { printf '%u\n' "$#" } - diff --git a/bash/bashrc.d/cd.bash b/bash/bashrc.d/cd.bash index 9ccfce57..8557b8c9 100644 --- a/bash/bashrc.d/cd.bash +++ b/bash/bashrc.d/cd.bash @@ -30,4 +30,3 @@ cd() { builtin cd "${opts[@]}" -- "$@" fi } - diff --git a/bash/bashrc.d/cf.bash b/bash/bashrc.d/cf.bash index d006c680..587c44b3 100644 --- a/bash/bashrc.d/cf.bash +++ b/bash/bashrc.d/cf.bash @@ -28,4 +28,3 @@ cf() { ) } complete -A directory cf - diff --git a/bash/bashrc.d/clwr.bash b/bash/bashrc.d/clwr.bash index a12ced4c..455484d9 100644 --- a/bash/bashrc.d/clwr.bash +++ b/bash/bashrc.d/clwr.bash @@ -6,4 +6,3 @@ clwr() { printf '%s\n' "$line" done } - diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash index 25bae147..5d944b9b 100644 --- a/bash/bashrc.d/completion.bash +++ b/bash/bashrc.d/completion.bash @@ -36,4 +36,3 @@ complete -A variable declare export readonly typeset # Both functions and variables complete -A function -A variable unset - diff --git a/bash/bashrc.d/diff.bash b/bash/bashrc.d/diff.bash index d1567d17..2c752c8d 100644 --- a/bash/bashrc.d/diff.bash +++ b/bash/bashrc.d/diff.bash @@ -2,4 +2,3 @@ diff() { command diff -u "$@" } - diff --git a/bash/bashrc.d/ed.bash b/bash/bashrc.d/ed.bash index faee7205..0f069b85 100644 --- a/bash/bashrc.d/ed.bash +++ b/bash/bashrc.d/ed.bash @@ -27,4 +27,3 @@ ed() { # concluded options command "${wrap[@]}" ed "${opts[@]}" "$@" } - diff --git a/bash/bashrc.d/fnl.bash b/bash/bashrc.d/fnl.bash index 50bf7a31..b63d64b1 100644 --- a/bash/bashrc.d/fnl.bash +++ b/bash/bashrc.d/fnl.bash @@ -42,4 +42,3 @@ fnl() { # Return the exit status of the command, not the declare builtin return "$ret" } - diff --git a/bash/bashrc.d/ftp.bash b/bash/bashrc.d/ftp.bash index 4b4b63eb..5770f137 100644 --- a/bash/bashrc.d/ftp.bash +++ b/bash/bashrc.d/ftp.bash @@ -31,4 +31,3 @@ _ftp() { done } complete -F _ftp -o default ftp - diff --git a/bash/bashrc.d/gdb.bash b/bash/bashrc.d/gdb.bash index 3c9ed4a6..ec9d4137 100644 --- a/bash/bashrc.d/gdb.bash +++ b/bash/bashrc.d/gdb.bash @@ -2,4 +2,3 @@ gdb() { command gdb -q "$@" } - diff --git a/bash/bashrc.d/git.bash b/bash/bashrc.d/git.bash index 7ac0524d..496712ae 100644 --- a/bash/bashrc.d/git.bash +++ b/bash/bashrc.d/git.bash @@ -25,4 +25,3 @@ _git() { esac } complete -F _git -o default git - diff --git a/bash/bashrc.d/gpg.bash b/bash/bashrc.d/gpg.bash index c2340520..446475dc 100644 --- a/bash/bashrc.d/gpg.bash +++ b/bash/bashrc.d/gpg.bash @@ -29,4 +29,3 @@ _gpg() { done < <(gpg --dump-options 2>/dev/null) } complete -F _gpg -o default gpg - diff --git a/bash/bashrc.d/grep.bash b/bash/bashrc.d/grep.bash index 6a567e5a..11eeb5b0 100644 --- a/bash/bashrc.d/grep.bash +++ b/bash/bashrc.d/grep.bash @@ -31,4 +31,3 @@ unset -v grep_help colors grep() { command grep "${GREPOPTS[@]}" "$@" } - diff --git a/bash/bashrc.d/hgrep.bash b/bash/bashrc.d/hgrep.bash index 3d0d0589..855fbcc8 100644 --- a/bash/bashrc.d/hgrep.bash +++ b/bash/bashrc.d/hgrep.bash @@ -6,4 +6,3 @@ hgrep() { grep "${@:?}" "${HISTFILE:?}" } - diff --git a/bash/bashrc.d/keep.bash b/bash/bashrc.d/keep.bash index dd130b36..53b7c5bb 100644 --- a/bash/bashrc.d/keep.bash +++ b/bash/bashrc.d/keep.bash @@ -157,4 +157,3 @@ if [[ -d ${BASHKEEP:-$HOME/.bashkeep.d} ]] ; then done unset -v bashkeep fi - diff --git a/bash/bashrc.d/keychain.bash b/bash/bashrc.d/keychain.bash index a8585b6b..40fe5d71 100644 --- a/bash/bashrc.d/keychain.bash +++ b/bash/bashrc.d/keychain.bash @@ -2,4 +2,3 @@ if [[ -n $GPG_TTY ]] ; then GPG_TTY=$(tty) fi - diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash index cd23bbe9..4b647163 100644 --- a/bash/bashrc.d/ls.bash +++ b/bash/bashrc.d/ls.bash @@ -18,4 +18,3 @@ unset -v colors ls() { command ls "${LSOPTS[@]}" "$@" } - diff --git a/bash/bashrc.d/make.bash b/bash/bashrc.d/make.bash index d499649f..2359d125 100644 --- a/bash/bashrc.d/make.bash +++ b/bash/bashrc.d/make.bash @@ -28,4 +28,3 @@ _make() { done } complete -F _make -o default make - diff --git a/bash/bashrc.d/man.bash b/bash/bashrc.d/man.bash index 99c38b67..562b0625 100644 --- a/bash/bashrc.d/man.bash +++ b/bash/bashrc.d/man.bash @@ -61,4 +61,3 @@ _man() { ) } complete -F _man -o default man - diff --git a/bash/bashrc.d/md.bash b/bash/bashrc.d/md.bash index d32cf488..1b2a3b30 100644 --- a/bash/bashrc.d/md.bash +++ b/bash/bashrc.d/md.bash @@ -2,4 +2,3 @@ md() { mkdir -p -- "$@" } - diff --git a/bash/bashrc.d/mkcd.bash b/bash/bashrc.d/mkcd.bash index d251095a..2d596641 100644 --- a/bash/bashrc.d/mkcd.bash +++ b/bash/bashrc.d/mkcd.bash @@ -3,4 +3,3 @@ mkcd() { mkdir -p -- "$1" && builtin cd -- "$1" } complete -A directory mkcd - diff --git a/bash/bashrc.d/mkcp.bash b/bash/bashrc.d/mkcp.bash index 7770556a..59eb0355 100644 --- a/bash/bashrc.d/mkcp.bash +++ b/bash/bashrc.d/mkcp.bash @@ -2,4 +2,3 @@ mkcp() { mkdir -p -- "${@: -1}" && cp -- "$@" } - diff --git a/bash/bashrc.d/mkmv.bash b/bash/bashrc.d/mkmv.bash index 48be8cb9..014fa150 100644 --- a/bash/bashrc.d/mkmv.bash +++ b/bash/bashrc.d/mkmv.bash @@ -2,4 +2,3 @@ mkmv() { mkdir -p -- "${@: -1}" && mv -- "$@" } - diff --git a/bash/bashrc.d/mysql.bash b/bash/bashrc.d/mysql.bash index e967e3b0..6575e096 100644 --- a/bash/bashrc.d/mysql.bash +++ b/bash/bashrc.d/mysql.bash @@ -55,4 +55,3 @@ _mysql() { ) } complete -F _mysql -o default mysql - diff --git a/bash/bashrc.d/pa.bash b/bash/bashrc.d/pa.bash index a2529968..5f963818 100644 --- a/bash/bashrc.d/pa.bash +++ b/bash/bashrc.d/pa.bash @@ -4,4 +4,3 @@ pa() { printf '%s\n' "$@" fi } - diff --git a/bash/bashrc.d/pass.bash b/bash/bashrc.d/pass.bash index cc323086..28484761 100644 --- a/bash/bashrc.d/pass.bash +++ b/bash/bashrc.d/pass.bash @@ -37,4 +37,3 @@ _pass() ) } complete -F _pass pass - diff --git a/bash/bashrc.d/path.bash b/bash/bashrc.d/path.bash index 39d9e453..d705b0ca 100644 --- a/bash/bashrc.d/path.bash +++ b/bash/bashrc.d/path.bash @@ -240,4 +240,3 @@ _path() { } complete -F _path path - diff --git a/bash/bashrc.d/paz.bash b/bash/bashrc.d/paz.bash index 99907298..def70f8d 100644 --- a/bash/bashrc.d/paz.bash +++ b/bash/bashrc.d/paz.bash @@ -5,4 +5,3 @@ paz() { printf '%s\0' "$@" fi } - diff --git a/bash/bashrc.d/pd.bash b/bash/bashrc.d/pd.bash index 1dbf7d39..47a317e0 100644 --- a/bash/bashrc.d/pd.bash +++ b/bash/bashrc.d/pd.bash @@ -51,4 +51,3 @@ pd() { return 2 fi } - diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash index 23870d51..d4ec0645 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -277,4 +277,3 @@ complete -W 'on off git hg svn vcs ret job' prompt # Start with full-fledged prompt prompt on - diff --git a/bash/bashrc.d/pushd.bash b/bash/bashrc.d/pushd.bash index c3e01a5e..6c8a2174 100644 --- a/bash/bashrc.d/pushd.bash +++ b/bash/bashrc.d/pushd.bash @@ -2,4 +2,3 @@ pushd() { builtin pushd "${@:-$HOME}" } - diff --git a/bash/bashrc.d/pwgen.bash b/bash/bashrc.d/pwgen.bash index 2d68e05c..f57d1884 100644 --- a/bash/bashrc.d/pwgen.bash +++ b/bash/bashrc.d/pwgen.bash @@ -7,4 +7,3 @@ pwgen() { command pwgen --secure -- "${PWGEN_LENGTH:-15}" "${PWGEN_COUNT:-1}" fi } - diff --git a/bash/bashrc.d/rcsdiff.bash b/bash/bashrc.d/rcsdiff.bash index 93966cc6..18b1d324 100644 --- a/bash/bashrc.d/rcsdiff.bash +++ b/bash/bashrc.d/rcsdiff.bash @@ -2,4 +2,3 @@ rcsdiff() { command rcsdiff -u "$@" } - diff --git a/bash/bashrc.d/readv.bash b/bash/bashrc.d/readv.bash index 5013dd89..abd624a4 100644 --- a/bash/bashrc.d/readv.bash +++ b/bash/bashrc.d/readv.bash @@ -23,4 +23,3 @@ readv() { "$FUNCNAME" "$name" "${!name}" done } - diff --git a/bash/bashrc.d/readz.bash b/bash/bashrc.d/readz.bash index 4b35979c..78a178b6 100644 --- a/bash/bashrc.d/readz.bash +++ b/bash/bashrc.d/readz.bash @@ -2,4 +2,3 @@ readz() { builtin read -d '' -r "$@" } - diff --git a/bash/bashrc.d/scp.bash b/bash/bashrc.d/scp.bash index 89cd2809..cd2f8521 100644 --- a/bash/bashrc.d/scp.bash +++ b/bash/bashrc.d/scp.bash @@ -8,4 +8,3 @@ scp() { fi command scp "$@" } - diff --git a/bash/bashrc.d/scr.bash b/bash/bashrc.d/scr.bash index d7248dbc..046b8691 100644 --- a/bash/bashrc.d/scr.bash +++ b/bash/bashrc.d/scr.bash @@ -10,4 +10,3 @@ scr() { return 2 fi } - diff --git a/bash/bashrc.d/sd.bash b/bash/bashrc.d/sd.bash index 33e0a033..b65d207d 100644 --- a/bash/bashrc.d/sd.bash +++ b/bash/bashrc.d/sd.bash @@ -147,4 +147,3 @@ _sd() { ) } complete -F _sd sd - diff --git a/bash/bashrc.d/sprunge.bash b/bash/bashrc.d/sprunge.bash index 6c0cef42..34406b0d 100644 --- a/bash/bashrc.d/sprunge.bash +++ b/bash/bashrc.d/sprunge.bash @@ -3,4 +3,3 @@ sprunge() { curl -F 'sprunge=<-' http://sprunge.us < "${1:-/dev/stdin}" } - diff --git a/bash/bashrc.d/ssh.bash b/bash/bashrc.d/ssh.bash index 40327b43..bbb9b246 100644 --- a/bash/bashrc.d/ssh.bash +++ b/bash/bashrc.d/ssh.bash @@ -20,4 +20,3 @@ _ssh() { done } complete -F _ssh -o default ssh sftp ssh-copy-id - diff --git a/bash/bashrc.d/sudo.bash b/bash/bashrc.d/sudo.bash index 41a97a9e..5bb8906a 100644 --- a/bash/bashrc.d/sudo.bash +++ b/bash/bashrc.d/sudo.bash @@ -6,4 +6,3 @@ sudo() { command sudo -H "$@" fi } - diff --git a/bash/bashrc.d/tmux.bash b/bash/bashrc.d/tmux.bash index 200001da..c70a7908 100644 --- a/bash/bashrc.d/tmux.bash +++ b/bash/bashrc.d/tmux.bash @@ -14,4 +14,3 @@ tmux() { command tmux new-session -s "${TMUX_SESSION:-default}" fi } - diff --git a/bash/bashrc.d/ud.bash b/bash/bashrc.d/ud.bash index 75768cc3..0e01dfd0 100644 --- a/bash/bashrc.d/ud.bash +++ b/bash/bashrc.d/ud.bash @@ -77,4 +77,3 @@ _ud() { ) } complete -F _ud -o filenames ud - diff --git a/bash/bashrc.d/vared.bash b/bash/bashrc.d/vared.bash index 6f2803f1..940b0900 100644 --- a/bash/bashrc.d/vared.bash +++ b/bash/bashrc.d/vared.bash @@ -29,4 +29,3 @@ vared() { done } complete -A variable vared - diff --git a/bash/bashrc.d/vim.bash b/bash/bashrc.d/vim.bash index ccfbcb01..37fc1871 100644 --- a/bash/bashrc.d/vim.bash +++ b/bash/bashrc.d/vim.bash @@ -13,4 +13,3 @@ vi() { view() { vim -R "$@" } - diff --git a/bash/bashrc.d/vis.bash b/bash/bashrc.d/vis.bash index 93b4098c..0a0d861e 100644 --- a/bash/bashrc.d/vis.bash +++ b/bash/bashrc.d/vis.bash @@ -20,4 +20,3 @@ _vis() { ) } complete -F _vis vis - diff --git a/bash/bashrc.d/vr.bash b/bash/bashrc.d/vr.bash index c63e174e..bbb37758 100644 --- a/bash/bashrc.d/vr.bash +++ b/bash/bashrc.d/vr.bash @@ -58,4 +58,3 @@ vr() { return 1 } complete -A directory vr - -- cgit v1.2.3