]> git.phdru.name Git - dotfiles.git/log
dotfiles.git
8 years ago.mc/menu: .egg and .whl are zip files
Oleg Broytman [Sun, 28 Aug 2016 17:36:45 +0000 (20:36 +0300)]
.mc/menu: .egg and .whl are zip files

8 years ago.shellrc: refactor separate completion loaders into one
Oleg Broytman [Sat, 27 Aug 2016 17:31:54 +0000 (20:31 +0300)]
.shellrc: refactor separate completion loaders into one

8 years ago.shellrc: complete functions for unset in addition to vars
Oleg Broytman [Sat, 27 Aug 2016 17:31:09 +0000 (20:31 +0300)]
.shellrc: complete functions for unset in addition to vars

8 years ago.shellrc: add completion for m(ake)
Oleg Broytman [Fri, 26 Aug 2016 21:49:53 +0000 (00:49 +0300)]
.shellrc: add completion for m(ake)

8 years ago.mc/menu: ignore __pycache__ directory when calling diff
Oleg Broytman [Tue, 23 Aug 2016 22:14:33 +0000 (01:14 +0300)]
.mc/menu: ignore __pycache__ directory when calling diff

Ignore directories with python3 byte-code files.

8 years ago.profile: use xhost to allow root to run X apps
Oleg Broytman [Mon, 22 Aug 2016 20:00:02 +0000 (23:00 +0300)]
.profile: use xhost to allow root to run X apps

8 years ago.muttrc: extend macros to attach screens
Oleg Broytman [Sun, 21 Aug 2016 06:48:37 +0000 (09:48 +0300)]
.muttrc: extend macros to attach screens

8 years ago.shellrc: check parameters and report usage errors
Oleg Broytman [Sat, 20 Aug 2016 09:15:19 +0000 (12:15 +0300)]
.shellrc: check parameters and report usage errors

8 years ago.shellrc: change bash completion for aliases
Oleg Broytman [Sun, 14 Aug 2016 20:18:25 +0000 (23:18 +0300)]
.shellrc: change bash completion for aliases

8 years ago.gitconfig: fix 'aliases' alias
Oleg Broytman [Sun, 14 Aug 2016 20:18:03 +0000 (23:18 +0300)]
.gitconfig: fix 'aliases' alias

8 years ago.fvwmrc: minor refactoring of font configuration
Oleg Broytman [Sun, 14 Aug 2016 03:25:32 +0000 (06:25 +0300)]
.fvwmrc: minor refactoring of font configuration

8 years ago.gitconfig: use 'exec' as micro-optimization
Oleg Broytman [Thu, 11 Aug 2016 05:20:58 +0000 (08:20 +0300)]
.gitconfig: use 'exec' as micro-optimization

Use 'exec' for the last (or the only) command in a sequence
to avoid one excessive fork.
It doesn't give much but every CPU tick and every memory byte count.

8 years ago.gitconfig: simplify 'aliases' alias a bit
Oleg Broytman [Thu, 11 Aug 2016 05:19:05 +0000 (08:19 +0300)]
.gitconfig: simplify 'aliases' alias a bit

8 years ago.shellrc: refactor cdremote and git-open completion
Oleg Broytman [Wed, 10 Aug 2016 20:19:53 +0000 (23:19 +0300)]
.shellrc: refactor cdremote and git-open completion

_cdremote_complete and _git_open are mostly the same -
refactor common code.

8 years ago.shellrc: remove one-time functions
Oleg Broytman [Mon, 8 Aug 2016 05:13:14 +0000 (08:13 +0300)]
.shellrc: remove one-time functions

8 years ago.shellrc: add completion for rsync/ssh/wget wrappers
Oleg Broytman [Mon, 8 Aug 2016 01:45:10 +0000 (04:45 +0300)]
.shellrc: add completion for rsync/ssh/wget wrappers

8 years ago.shellrc: mtr completion: just hostname
Oleg Broytman [Mon, 8 Aug 2016 01:44:41 +0000 (04:44 +0300)]
.shellrc: mtr completion: just hostname

8 years ago.shellrc: apply wget completion to wrappers
Oleg Broytman [Sat, 6 Aug 2016 14:23:20 +0000 (17:23 +0300)]
.shellrc: apply wget completion to wrappers

8 years ago.bash_logout: clear even if there is no clear_console
Oleg Broytman [Fri, 5 Aug 2016 21:52:11 +0000 (00:52 +0300)]
.bash_logout: clear even if there is no clear_console

8 years ago.curlrc: set timestamp for the downloaded file from HTTP header
Oleg Broytman [Thu, 4 Aug 2016 23:57:54 +0000 (02:57 +0300)]
.curlrc: set timestamp for the downloaded file from HTTP header

8 years ago.gitconfig: use `git var GIT_EDITOR`
Oleg Broytman [Thu, 4 Aug 2016 23:37:45 +0000 (02:37 +0300)]
.gitconfig: use `git var GIT_EDITOR`

`git var GIT_EDITOR` is better than ${VISUAL:-${EDITOR:-vi}} because
it takes into account all variables: GIT_EDITOR, VISUAL and EDITOR,
and falls back to the platform's default.

8 years ago.shellrc: rename list_remotes to _list_remotes
Oleg Broytman [Thu, 4 Aug 2016 17:44:03 +0000 (20:44 +0300)]
.shellrc: rename list_remotes to _list_remotes

list_remotes can hardly be used at the command line.

8 years ago.muttrc: Header From: must be from the sending server/host
Oleg Broytman [Thu, 4 Aug 2016 17:31:23 +0000 (20:31 +0300)]
.muttrc: Header From: must be from the sending server/host

New fashion in spam filtering: receiving hosts check if the sender really
has sent the message using DKIM.

8 years agobrowser-stack: adapt to Python 3
Oleg Broytman [Wed, 3 Aug 2016 19:12:03 +0000 (22:12 +0300)]
browser-stack: adapt to Python 3

8 years ago.shellrc: add completion for git {fixup,rbi,rbia,rbiap,rbip}
Oleg Broytman [Tue, 2 Aug 2016 17:37:17 +0000 (20:37 +0300)]
.shellrc: add completion for git {fixup,rbi,rbia,rbiap,rbip}

8 years ago.shellrc: properly indent
Oleg Broytman [Tue, 2 Aug 2016 17:29:11 +0000 (20:29 +0300)]
.shellrc: properly indent

8 years ago.shellrc: test existing of programs before creating wrappers for them
Oleg Broytman [Tue, 2 Aug 2016 07:50:32 +0000 (10:50 +0300)]
.shellrc: test existing of programs before creating wrappers for them

8 years ago.bash_logout: clean up python virtual environment on exit
Oleg Broytman [Fri, 29 Jul 2016 15:31:19 +0000 (18:31 +0300)]
.bash_logout: clean up python virtual environment on exit

8 years agoAdd standard .bash_logout
Oleg Broytman [Fri, 29 Jul 2016 15:28:25 +0000 (18:28 +0300)]
Add standard .bash_logout

8 years ago.fvwm/main.m4: add macros for ssh connection sharing terms
Oleg Broytman [Wed, 27 Jul 2016 14:28:18 +0000 (17:28 +0300)]
.fvwm/main.m4: add macros for ssh connection sharing terms

8 years ago.fvwm/main.m4: refactor remote host macros
Oleg Broytman [Wed, 27 Jul 2016 14:27:50 +0000 (17:27 +0300)]
.fvwm/main.m4: refactor remote host macros

8 years agoAdd lib/config/python
Oleg Broytman [Tue, 26 Jul 2016 08:28:08 +0000 (11:28 +0300)]
Add lib/config/python

8 years agoAdd lib/config/git/less
Oleg Broytman [Tue, 26 Jul 2016 08:27:49 +0000 (11:27 +0300)]
Add lib/config/git/less

8 years agolib/python/init.py: simplify excepthook using ColoredFile
Oleg Broytman [Mon, 25 Jul 2016 20:47:39 +0000 (23:47 +0300)]
lib/python/init.py: simplify excepthook using ColoredFile

8 years agolib/python/init.py: rename pager.stdin to stdout
Oleg Broytman [Mon, 25 Jul 2016 20:40:59 +0000 (23:40 +0300)]
lib/python/init.py: rename pager.stdin to stdout

8 years agolib/python/init.py: colorize stdout from displayhook
Oleg Broytman [Mon, 25 Jul 2016 20:38:30 +0000 (23:38 +0300)]
lib/python/init.py: colorize stdout from displayhook

8 years ago.gitconfig: add fixup alias
Oleg Broytman [Thu, 21 Jul 2016 15:30:36 +0000 (18:30 +0300)]
.gitconfig: add fixup alias

8 years ago.shellrc: shopt is bash-specific command
Oleg Broytman [Wed, 20 Jul 2016 08:00:19 +0000 (11:00 +0300)]
.shellrc: shopt is bash-specific command

8 years ago.inputrc: minor update
Oleg Broytman [Tue, 19 Jul 2016 15:01:13 +0000 (18:01 +0300)]
.inputrc: minor update

8 years ago.vim/ftplugin/gitrebase.vim: goto the first line/column
Oleg Broytman [Mon, 18 Jul 2016 07:03:52 +0000 (10:03 +0300)]
.vim/ftplugin/gitrebase.vim: goto the first line/column

8 years ago.shellrc: ${1:+"$@"} => "$@"
Oleg Broytman [Mon, 18 Jul 2016 06:28:03 +0000 (09:28 +0300)]
.shellrc: ${1:+"$@"} => "$@"

8 years ago.gitconfig: edit all files of the given type
Oleg Broytman [Mon, 18 Jul 2016 06:12:00 +0000 (09:12 +0300)]
.gitconfig: edit all files of the given type

Edit ignored or modified or staged files.

8 years ago.gitconfig: prefer $VISUAL over $EDITOR; use vi as the last resort
Oleg Broytman [Mon, 18 Jul 2016 06:11:38 +0000 (09:11 +0300)]
.gitconfig: prefer $VISUAL over $EDITOR; use vi as the last resort

8 years agobin/replace: option -i to ignore case
Oleg Broytman [Sun, 17 Jul 2016 02:11:00 +0000 (05:11 +0300)]
bin/replace: option -i to ignore case

8 years ago.gitconfig: use exec to avoid unnecessary fork
Oleg Broytman [Sat, 16 Jul 2016 02:07:39 +0000 (05:07 +0300)]
.gitconfig: use exec to avoid unnecessary fork

8 years ago.gitconfig: change alias 'ci' back to 'commit'
Oleg Broytman [Sat, 16 Jul 2016 02:06:57 +0000 (05:06 +0300)]
.gitconfig: change alias 'ci' back to 'commit'

8 years agoAdd .config/gtk-2.0 and .config/gtk-3.0 settings
Oleg Broytman [Thu, 14 Jul 2016 13:01:31 +0000 (16:01 +0300)]
Add .config/gtk-2.0 and .config/gtk-3.0 settings

8 years ago.shellrc: instead of colorized aliases create shell scripts
Oleg Broytman [Wed, 13 Jul 2016 16:09:32 +0000 (19:09 +0300)]
.shellrc: instead of colorized aliases create shell scripts

8 years ago.shellrc: comment out pip completion - it's too slow
Oleg Broytman [Wed, 13 Jul 2016 06:03:43 +0000 (09:03 +0300)]
.shellrc: comment out pip completion - it's too slow

8 years ago.shellrc: align comments
Oleg Broytman [Wed, 13 Jul 2016 06:03:17 +0000 (09:03 +0300)]
.shellrc: align comments

8 years ago.shellrc: declare a variable local instead of unsetting it
Oleg Broytman [Wed, 13 Jul 2016 04:56:39 +0000 (07:56 +0300)]
.shellrc: declare a variable local instead of unsetting it

8 years ago.vimrc: Use long name for a command
Oleg Broytman [Tue, 12 Jul 2016 04:31:06 +0000 (07:31 +0300)]
.vimrc: Use long name for a command

8 years ago.mc/menu: fix lists of extensions for un-tarring
Oleg Broytman [Mon, 11 Jul 2016 21:49:07 +0000 (00:49 +0300)]
.mc/menu: fix lists of extensions for un-tarring

8 years ago.shellrc: pyenv before venv (alphabetically)
Oleg Broytman [Thu, 7 Jul 2016 23:52:34 +0000 (02:52 +0300)]
.shellrc: pyenv before venv (alphabetically)

8 years agoUse builtin 'type -p' instead of external 'which' with bash
Oleg Broytman [Thu, 7 Jul 2016 23:50:25 +0000 (02:50 +0300)]
Use builtin 'type -p' instead of external 'which' with bash

8 years ago.shellrc: unset works fine, no need to clear variables
Oleg Broytman [Thu, 7 Jul 2016 23:45:35 +0000 (02:45 +0300)]
.shellrc: unset works fine, no need to clear variables

8 years ago.profile, .shellrc: test $BASH_VERSION instead of $SHELL
Oleg Broytman [Thu, 7 Jul 2016 23:40:28 +0000 (02:40 +0300)]
.profile, .shellrc: test $BASH_VERSION instead of $SHELL

Test $BASH_VERSION instead of $SHELL in case bash is executed as /bin/sh.

8 years ago.shellrc: use '() {' syntax for functions
Oleg Broytman [Thu, 7 Jul 2016 22:52:16 +0000 (01:52 +0300)]
.shellrc: use '() {' syntax for functions

Opening '{' must be on the same line.

8 years ago.tmux.conf: add reasonable binding for h/v split
Oleg Broytman [Thu, 7 Jul 2016 20:22:59 +0000 (23:22 +0300)]
.tmux.conf: add reasonable binding for h/v split

8 years ago.tmux.conf: move bindings after settings
Oleg Broytman [Thu, 7 Jul 2016 20:22:22 +0000 (23:22 +0300)]
.tmux.conf: move bindings after settings

8 years ago.shellrc: allow directory URLs to begin with ../
Oleg Broytman [Thu, 7 Jul 2016 16:48:01 +0000 (19:48 +0300)]
.shellrc: allow directory URLs to begin with ../

8 years ago.shellrc: define completion for git-open - list remotes with http(s) URLs
Oleg Broytman [Thu, 7 Jul 2016 15:30:10 +0000 (18:30 +0300)]
.shellrc: define completion for git-open - list remotes with http(s) URLs

8 years ago.shellrc: define completion for cdremote
Oleg Broytman [Thu, 7 Jul 2016 15:28:16 +0000 (18:28 +0300)]
.shellrc: define completion for cdremote

List remotes with directories as URLs.

8 years ago.shellrc: add function cdremote
Oleg Broytman [Thu, 7 Jul 2016 15:26:52 +0000 (18:26 +0300)]
.shellrc: add function cdremote

Change current directory to a remote's directory
(if the remote is on the local FS).

8 years ago.shellrc: move some functions to the end (alphabetically)
Oleg Broytman [Thu, 7 Jul 2016 14:27:11 +0000 (17:27 +0300)]
.shellrc: move some functions to the end (alphabetically)

8 years ago.tmux.conf: display "Reloaded!" after reloading config
Oleg Broytman [Wed, 6 Jul 2016 23:42:20 +0000 (02:42 +0300)]
.tmux.conf: display "Reloaded!" after reloading config

8 years ago.vimrc: automatically close quickfix if it's the only window left
Oleg Broytman [Wed, 6 Jul 2016 20:37:54 +0000 (23:37 +0300)]
.vimrc: automatically close quickfix if it's the only window left

8 years ago.mc/menu: rsync -v
Oleg Broytman [Mon, 4 Jul 2016 18:09:48 +0000 (21:09 +0300)]
.mc/menu: rsync -v

8 years ago.gitconfig: use long options
Oleg Broytman [Mon, 4 Jul 2016 11:08:16 +0000 (14:08 +0300)]
.gitconfig: use long options

8 years ago.gitconfig: update some aliases from gitalias
Oleg Broytman [Sun, 3 Jul 2016 18:56:11 +0000 (21:56 +0300)]
.gitconfig: update some aliases from gitalias

8 years ago.gdbinit: add a link to gdb-dashboard
Oleg Broytman [Thu, 30 Jun 2016 20:20:58 +0000 (23:20 +0300)]
.gdbinit: add a link to gdb-dashboard

8 years ago.mc/menu: handle tar.z, tar.Z, tz, tbz2, tar.7z extensions
Oleg Broytman [Mon, 27 Jun 2016 17:19:29 +0000 (20:19 +0300)]
.mc/menu: handle tar.z, tar.Z, tz, tbz2, tar.7z extensions

8 years ago.mc/menu: optimize regular expressions
Oleg Broytman [Mon, 27 Jun 2016 17:18:50 +0000 (20:18 +0300)]
.mc/menu: optimize regular expressions

8 years ago.gitconfig: update aliases
Oleg Broytman [Sat, 25 Jun 2016 21:13:42 +0000 (00:13 +0300)]
.gitconfig: update aliases

8 years ago.gitconfig: copied some aliases from gitalias.com
Oleg Broytman [Sat, 25 Jun 2016 21:11:13 +0000 (00:11 +0300)]
.gitconfig: copied some aliases from gitalias.com

8 years ago.shellrc: add pyenv virtualenv init; comment out pyenv
Oleg Broytman [Thu, 23 Jun 2016 17:42:34 +0000 (20:42 +0300)]
.shellrc: add pyenv virtualenv init; comment out pyenv

8 years ago.shellrc: remove pip's tmp directory
Oleg Broytman [Tue, 21 Jun 2016 22:45:20 +0000 (01:45 +0300)]
.shellrc: remove pip's tmp directory

8 years ago.vim: Change color
Oleg Broytman [Tue, 21 Jun 2016 03:20:21 +0000 (06:20 +0300)]
.vim: Change color

8 years ago.vim: change colors
Oleg Broytman [Wed, 15 Jun 2016 02:00:53 +0000 (05:00 +0300)]
.vim: change colors

8 years ago.vim: change color; make synload.vim a colorscheme
Oleg Broytman [Tue, 14 Jun 2016 01:24:36 +0000 (04:24 +0300)]
.vim: change color; make synload.vim a colorscheme

8 years ago.vim: change colors
Oleg Broytman [Sun, 12 Jun 2016 12:02:00 +0000 (15:02 +0300)]
.vim: change colors

8 years ago.vim: remove old unused file type
Oleg Broytman [Sun, 12 Jun 2016 14:01:48 +0000 (17:01 +0300)]
.vim: remove old unused file type

8 years ago.vim: fix comment
Oleg Broytman [Sun, 12 Jun 2016 14:01:25 +0000 (17:01 +0300)]
.vim: fix comment

8 years ago.vim: change colors
Oleg Broytman [Sun, 12 Jun 2016 12:02:00 +0000 (15:02 +0300)]
.vim: change colors

8 years agoAdd vim.sh
Oleg Broytman [Sun, 12 Jun 2016 12:00:32 +0000 (15:00 +0300)]
Add vim.sh

This simple script starts vim with any file even if the filename begins
with a minus/dash.

8 years ago.muttrc: do not set From: to avoid rejection by google anti-spam
Oleg Broytman [Sun, 12 Jun 2016 11:11:33 +0000 (14:11 +0300)]
.muttrc: do not set From: to avoid rejection by google anti-spam

8 years ago.muttrc: "close" backtick to fix color highlighting in vim
Oleg Broytman [Sun, 12 Jun 2016 11:09:53 +0000 (14:09 +0300)]
.muttrc: "close" backtick to fix color highlighting in vim

8 years ago.fvwm2rc: call XsetbgFilename in StartStandardSession
Oleg Broytman [Fri, 10 Jun 2016 13:41:42 +0000 (16:41 +0300)]
.fvwm2rc: call XsetbgFilename in StartStandardSession

8 years ago.fvwm2rc: refactor XsetbgFilename
Oleg Broytman [Fri, 10 Jun 2016 13:40:55 +0000 (16:40 +0300)]
.fvwm2rc: refactor XsetbgFilename

8 years agounzip.py: minor refactoring
Oleg Broytman [Fri, 10 Jun 2016 13:20:40 +0000 (16:20 +0300)]
unzip.py: minor refactoring

8 years ago.inputrc: exchange Up/Dn and PgUp/PgDn keys
Oleg Broytman [Wed, 8 Jun 2016 22:02:44 +0000 (01:02 +0300)]
.inputrc: exchange Up/Dn and PgUp/PgDn keys

Make history walking/searching more vim-like

8 years ago.fvwmrc: add menu item for big grey utf8 term
Oleg Broytman [Mon, 6 Jun 2016 13:04:59 +0000 (16:04 +0300)]
.fvwmrc: add menu item for big grey utf8 term

8 years ago.inputrc: update
Oleg Broytman [Sun, 5 Jun 2016 21:22:36 +0000 (00:22 +0300)]
.inputrc: update

8 years ago.shellrc: source virtualenvwrapper_lazy and pyenv
Oleg Broytman [Sun, 5 Jun 2016 20:57:07 +0000 (23:57 +0300)]
.shellrc: source virtualenvwrapper_lazy and pyenv

8 years ago.shellrc: micro refactoring - move some code below
Oleg Broytman [Sun, 5 Jun 2016 20:56:29 +0000 (23:56 +0300)]
.shellrc: micro refactoring - move some code below

8 years agounzip.py: optimization
Oleg Broytman [Sun, 5 Jun 2016 13:44:14 +0000 (16:44 +0300)]
unzip.py: optimization

Use shutil.copyfileobj() to copy big files by small chunks.

8 years ago.gitconfig: add push2all alias to push to all remotes
Oleg Broytman [Fri, 3 Jun 2016 21:51:12 +0000 (00:51 +0300)]
.gitconfig: add push2all alias to push to all remotes

8 years ago.gitconfig: set push.default = simple
Oleg Broytman [Fri, 3 Jun 2016 21:50:37 +0000 (00:50 +0300)]
.gitconfig: set push.default = simple

8 years agoinit.py: use only HISTSIZE, not HISTFILESIZE
Oleg Broytman [Fri, 3 Jun 2016 12:56:54 +0000 (15:56 +0300)]
init.py: use only HISTSIZE, not HISTFILESIZE

HISTSIZE give the size in lines, HISTFILESIZE in bytes.

8 years ago.profile: copy some code and comments from Debian /etc/skel
Oleg Broytman [Fri, 3 Jun 2016 12:56:03 +0000 (15:56 +0300)]
.profile: copy some code and comments from Debian /etc/skel