]> git.phdru.name Git - dotfiles.git/log
dotfiles.git
7 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.

7 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.

7 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.

7 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

7 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}

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

7 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

7 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

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

7 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

7 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

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

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

7 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

7 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

7 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

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

7 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

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

7 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

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

7 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.

7 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

7 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

7 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

7 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'

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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)

7 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

7 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

7 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.

7 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.

7 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

7 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

7 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 ../

7 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

7 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.

7 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).

7 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)

7 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

7 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

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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

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

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

7 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

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

7 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

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

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

7 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.

7 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

7 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

7 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

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

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

7 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

7 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

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

7 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

7 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

7 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.

7 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

7 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

7 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.

7 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

7 years ago.shellrc: install pip completion
Oleg Broytman [Thu, 2 Jun 2016 22:47:56 +0000 (01:47 +0300)]
.shellrc: install pip completion

7 years ago.vim: Recognize all git temporary commit files
Oleg Broytman [Tue, 31 May 2016 15:07:30 +0000 (18:07 +0300)]
.vim: Recognize all git temporary commit files

7 years ago.vim: Remove old unused macro
Oleg Broytman [Tue, 31 May 2016 15:06:50 +0000 (18:06 +0300)]
.vim: Remove old unused macro

7 years agoRename phd.m4 -> main.m4
Oleg Broytman [Sat, 21 May 2016 17:39:31 +0000 (20:39 +0300)]
Rename phd.m4 -> main.m4

7 years ago.fvwm2rc (m4): remove LC_CTYPE
Oleg Broytman [Sat, 21 May 2016 17:38:42 +0000 (20:38 +0300)]
.fvwm2rc (m4): remove LC_CTYPE

7 years agoRename *-history to *_history
Oleg Broytman [Sun, 15 May 2016 13:39:15 +0000 (16:39 +0300)]
Rename *-history to *_history

7 years ago.hgrc: pass options -FSX to less
Oleg Broytman [Sat, 14 May 2016 22:30:09 +0000 (01:30 +0300)]
.hgrc: pass options -FSX to less

7 years ago.gitconfig: add incoming/outgoing aliases
Oleg Broytman [Sat, 14 May 2016 22:23:46 +0000 (01:23 +0300)]
.gitconfig: add incoming/outgoing aliases

7 years ago.gitconfig: simplify camend alias
Oleg Broytman [Thu, 12 May 2016 14:46:57 +0000 (17:46 +0300)]
.gitconfig: simplify camend alias

7 years ago.muttrc: avoid <Enter><exit>
Oleg Broytman [Sun, 8 May 2016 17:12:05 +0000 (20:12 +0300)]
.muttrc: avoid <Enter><exit>

<Enter><exit> trick doesn't work in empty folders.

7 years agoinit.py: adapt to Py 3
Oleg Broytman [Sat, 7 May 2016 10:29:35 +0000 (13:29 +0300)]
init.py: adapt to Py 3

7 years agoPass -FSX options to pager less
Oleg Broytman [Fri, 6 May 2016 15:43:03 +0000 (18:43 +0300)]
Pass -FSX options to pager less

Some full-screen programs (like mutt) redraw the screen after 'less'
exists so the default must not contain option -F. -F and -X are
recommended for command-line programs that can produce a lot of output.
Option -S is recommended for wide output.

'git' became a shell wrapper for the real git to allow calling it from
other scripts.

7 years ago.vimrc: set ttimeoutlen=100
Oleg Broytman [Sun, 1 May 2016 21:38:08 +0000 (00:38 +0300)]
.vimrc: set ttimeoutlen=100

7 years ago.gitconfig: use long options
Oleg Broytman [Fri, 29 Apr 2016 13:46:14 +0000 (16:46 +0300)]
.gitconfig: use long options

8 years agoinit.py: add an example of using cgitb.enable
Oleg Broytman [Thu, 21 Apr 2016 19:34:50 +0000 (22:34 +0300)]
init.py: add an example of using cgitb.enable

8 years agoinit.py: pass options '-F', '-R' and '-X' to 'less'
Oleg Broytman [Wed, 20 Apr 2016 13:38:39 +0000 (16:38 +0300)]
init.py: pass options '-F', '-R' and '-X' to 'less'

8 years agoinit.py: colorize traceback in pager
Oleg Broytman [Tue, 19 Apr 2016 10:51:31 +0000 (13:51 +0300)]
init.py: colorize traceback in pager

8 years agoinit.py: use pager to view a (possibly quite long) traceback
Oleg Broytman [Tue, 19 Apr 2016 10:30:07 +0000 (13:30 +0300)]
init.py: use pager to view a (possibly quite long) traceback

8 years agoinit.py: refactor paging
Oleg Broytman [Tue, 19 Apr 2016 10:27:21 +0000 (13:27 +0300)]
init.py: refactor paging

8 years agoinit.py: fix: restore rlcompleter
Oleg Broytman [Tue, 19 Apr 2016 10:26:24 +0000 (13:26 +0300)]
init.py: fix: restore rlcompleter

Import of rlcompleter is required for completion of attributes.