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

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

8 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

8 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

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

8 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

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

8 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

8 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

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

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

8 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

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

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

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

8 years agoinit.py: pipe output to pager
Oleg Broytman [Tue, 19 Apr 2016 09:53:26 +0000 (12:53 +0300)]
init.py: pipe output to pager

8 years agoinit.py: minor refactoring: move displayhook
Oleg Broytman [Tue, 19 Apr 2016 09:32:54 +0000 (12:32 +0300)]
init.py: minor refactoring: move displayhook

8 years ago.gdbinit: set history filename
Oleg Broytman [Tue, 19 Apr 2016 09:30:55 +0000 (12:30 +0300)]
.gdbinit: set history filename

8 years agoinit.py, pdbrc.py: fix flake8 warnings
Oleg Broytman [Tue, 19 Apr 2016 09:29:47 +0000 (12:29 +0300)]
init.py, pdbrc.py: fix flake8 warnings

8 years agoinit.py: restore links to the origin of borrowed code
Oleg Broytman [Tue, 19 Apr 2016 09:28:48 +0000 (12:28 +0300)]
init.py: restore links to the origin of borrowed code

8 years ago.fvwmrc: increase pause
Oleg Broytman [Sun, 31 Jan 2016 22:38:08 +0000 (01:38 +0300)]
.fvwmrc: increase pause

8 years ago.muttrc: add descriptions to macros
Oleg Broytman [Thu, 7 Apr 2016 04:34:39 +0000 (07:34 +0300)]
.muttrc: add descriptions to macros

8 years ago.muttrc: fix a macro: 'n' is not a command
Oleg Broytman [Thu, 7 Apr 2016 04:22:01 +0000 (07:22 +0300)]
.muttrc: fix a macro: 'n' is not a command

'n' is not a command here but a reply to "Postpone?" question.

8 years ago.muttrc: change some macros
Oleg Broytman [Thu, 7 Apr 2016 04:02:20 +0000 (07:02 +0300)]
.muttrc: change some macros

Fix quotation. Replace command 'r' with '<reply>'.

8 years ago.muttrc: exchange M and <Esc>m keys
Oleg Broytman [Wed, 6 Apr 2016 18:38:42 +0000 (21:38 +0300)]
.muttrc: exchange M and <Esc>m keys

8 years ago.muttrc: rewrite macros using commands instead of keys
Oleg Broytman [Mon, 4 Apr 2016 22:23:01 +0000 (01:23 +0300)]
.muttrc: rewrite macros using commands instead of keys

Merge index/pager macros. Add <Esc>m macro to switch to sent-mail
folder.

8 years ago.profile: remove options -F and -X from LESS
Oleg Broytman [Tue, 29 Mar 2016 14:23:35 +0000 (17:23 +0300)]
.profile: remove options -F and -X from LESS

Option -F is especially painful when `less' is called from a TUI program
like `mutt' with a short input - less immediately exits and the TUI
program redraws the screen.

8 years ago.sqliterc: fix mode name
Oleg Broytman [Mon, 28 Mar 2016 19:43:12 +0000 (22:43 +0300)]
.sqliterc: fix mode name

8 years ago.profile: fix a bug in PS1 under screen/tmux: add a missed backslash
Oleg Broytman [Sat, 26 Mar 2016 23:29:23 +0000 (02:29 +0300)]
.profile: fix a bug in PS1 under screen/tmux: add a missed backslash

8 years ago.mc/menu: compress the current subdirectory to tar.{lzma,xz}
Oleg Broytman [Thu, 24 Mar 2016 15:31:14 +0000 (18:31 +0300)]
.mc/menu: compress the current subdirectory to tar.{lzma,xz}

8 years ago.gdbinit: pretty-print
Oleg Broytman [Wed, 23 Mar 2016 11:49:25 +0000 (14:49 +0300)]
.gdbinit: pretty-print

8 years ago.gitconfig: add cat, dump, file, type aliases
Oleg Broytman [Wed, 16 Mar 2016 00:17:50 +0000 (03:17 +0300)]
.gitconfig: add cat, dump, file, type aliases

8 years ago.gitconfig: add `alias' and `aliases' aliases
Oleg Broytman [Tue, 15 Mar 2016 23:57:49 +0000 (02:57 +0300)]
.gitconfig: add `alias' and `aliases' aliases

8 years ago.gitconfig: use function instead of subshell
Oleg Broytman [Tue, 15 Mar 2016 23:36:16 +0000 (02:36 +0300)]
.gitconfig: use function instead of subshell

Shell functions are more efficient than calling a new shell.

8 years ago.gitconfig: fix a bug in alias
Oleg Broytman [Tue, 15 Mar 2016 23:18:31 +0000 (02:18 +0300)]
.gitconfig: fix a bug in alias

It seems '}' must be escaped in aliases.

8 years ago.profile: verify that `less' exists
Oleg Broytman [Sat, 12 Mar 2016 21:57:11 +0000 (00:57 +0300)]
.profile: verify that `less' exists

Set PAGER to `more' if `less' doesn't exist.

8 years ago.vimrc: set titlestring
Oleg Broytman [Thu, 3 Mar 2016 15:48:19 +0000 (18:48 +0300)]
.vimrc: set titlestring

Display filename, modification flag, full path, argument list status,
the current user, host and program name (to distinguish vim/view/etc).

8 years ago.profile: use concatenation instead of `+=' for older shells
Oleg Broytman [Wed, 2 Mar 2016 20:24:38 +0000 (23:24 +0300)]
.profile: use concatenation instead of `+=' for older shells

8 years agoAdd .curlrc, .gdbinit, .wgetrc
Oleg Broytman [Wed, 24 Feb 2016 10:41:22 +0000 (13:41 +0300)]
Add .curlrc, .gdbinit, .wgetrc

8 years ago.bash_prompt: show success/error status of the previous command
Oleg Broytman [Wed, 24 Feb 2016 10:38:15 +0000 (13:38 +0300)]
.bash_prompt: show success/error status of the previous command

Show error code in case of an error.

8 years ago.bash_prompt: change colors and styles
Oleg Broytman [Wed, 24 Feb 2016 10:37:48 +0000 (13:37 +0300)]
.bash_prompt: change colors and styles

8 years ago.bash_prompt: change color definitions back to standard
Oleg Broytman [Wed, 24 Feb 2016 10:34:28 +0000 (13:34 +0300)]
.bash_prompt: change color definitions back to standard

8 years ago.bash_prompt: rename purple to magenta
Oleg Broytman [Wed, 24 Feb 2016 10:33:32 +0000 (13:33 +0300)]
.bash_prompt: rename purple to magenta

8 years ago.bash_prompt: add dim colors
Oleg Broytman [Wed, 24 Feb 2016 10:29:23 +0000 (13:29 +0300)]
.bash_prompt: add dim colors

8 years ago.bash_prompt: do not call git update-index
Oleg Broytman [Wed, 24 Feb 2016 10:27:16 +0000 (13:27 +0300)]
.bash_prompt: do not call git update-index

Avoid touching .git and triggering backup.

8 years agoAdd .bash_prompt
Oleg Broytman [Wed, 24 Feb 2016 10:22:23 +0000 (13:22 +0300)]
Add .bash_prompt

Downloaded from
https://github.com/necolas/dotfiles/blob/master/shell/bash_prompt

8 years ago.gitconfig: add aliases
Oleg Broytman [Tue, 23 Feb 2016 23:03:43 +0000 (02:03 +0300)]
.gitconfig: add aliases

branches, null-merge, remotes, ri, tags

8 years ago.shellrc: unset has_completion - it's no longer needed
Oleg Broytman [Tue, 23 Feb 2016 00:33:33 +0000 (03:33 +0300)]
.shellrc: unset has_completion - it's no longer needed

8 years ago.shellrc: save/reset/restore OPS1 for mc
Oleg Broytman [Mon, 22 Feb 2016 23:59:29 +0000 (02:59 +0300)]
.shellrc: save/reset/restore OPS1 for mc

8 years agoSplit .gitconfig into 2 color schemas for dark and light bg
Oleg Broytman [Mon, 22 Feb 2016 21:05:47 +0000 (00:05 +0300)]
Split .gitconfig into 2 color schemas for dark and light bg

8 years ago.profile: remove PROMPT_COMMAND, set titles from PS1
Oleg Broytman [Mon, 22 Feb 2016 18:10:31 +0000 (21:10 +0300)]
.profile: remove PROMPT_COMMAND, set titles from PS1

8 years agobin/xtitle: refactoring
Oleg Broytman [Mon, 22 Feb 2016 17:57:13 +0000 (20:57 +0300)]
bin/xtitle: refactoring

8 years agobin/xtitle: better comments
Oleg Broytman [Mon, 22 Feb 2016 17:43:19 +0000 (20:43 +0300)]
bin/xtitle: better comments

8 years ago.screenrc: explain caption colors
Oleg Broytman [Sun, 21 Feb 2016 18:55:46 +0000 (21:55 +0300)]
.screenrc: explain caption colors

8 years ago.hgrc: update
Oleg Broytman [Sun, 14 Feb 2016 23:58:27 +0000 (02:58 +0300)]
.hgrc: update

Add color extension. Remove `less' options - they are now in $LESS.
Ignore pager for `clone', `push', `recommit', `shelve', `unshelve'.

8 years ago.screenrc: change caption colors to match my tmux config
Oleg Broytman [Wed, 10 Feb 2016 16:30:50 +0000 (19:30 +0300)]
.screenrc: change caption colors to match my tmux config

Title for the current window: blue on cyan;
titles for inactive windows: default (assumed black) on cyan.

8 years ago.tmux.conf: simplify captions
Oleg Broytman [Tue, 9 Feb 2016 23:38:19 +0000 (02:38 +0300)]
.tmux.conf: simplify captions

Remove window name from titles.
Remove window title from the right status string,

8 years ago.screenrc: simplify caption
Oleg Broytman [Tue, 9 Feb 2016 23:26:00 +0000 (02:26 +0300)]
.screenrc: simplify caption

8 years ago.fvwmrc: increase pause
Oleg Broytman [Sun, 31 Jan 2016 22:38:08 +0000 (01:38 +0300)]
.fvwmrc: increase pause

8 years ago.fvwm2rc: fix a bug - wait for term names
Oleg Broytman [Sun, 31 Jan 2016 22:37:26 +0000 (01:37 +0300)]
.fvwm2rc: fix a bug - wait for term names

8 years agovimrc: remove the current directory from the swap path
Oleg Broytman [Sun, 31 Jan 2016 17:11:57 +0000 (20:11 +0300)]
vimrc: remove the current directory from the swap path

This is to avoid touching the current directory so that it doesn't
trigger backup.

8 years ago.fvwmrc: do not start gajim at startup
Oleg Broytman [Wed, 20 Jan 2016 08:49:26 +0000 (11:49 +0300)]
.fvwmrc: do not start gajim at startup

Reorder startup sequence.

8 years ago.muttrc: add core-workflow mailing list
Oleg Broytman [Mon, 11 Jan 2016 22:05:32 +0000 (01:05 +0300)]
.muttrc: add core-workflow mailing list

8 years ago.vimrc: use matchit plugin
Oleg Broytman [Sun, 3 Jan 2016 21:18:17 +0000 (00:18 +0300)]
.vimrc: use matchit plugin

8 years ago.fvwmrc: put FvwmButtons, FvwmPager and xclock to lower level
Oleg Broytman [Sun, 3 Jan 2016 14:29:57 +0000 (17:29 +0300)]
.fvwmrc: put FvwmButtons, FvwmPager and xclock to lower level

8 years ago.mc/menu: another fix for unrar
Oleg Broytman [Thu, 10 Dec 2015 21:10:08 +0000 (00:10 +0300)]
.mc/menu: another fix for unrar

8 years ago.inputrc: set skip-completed-text and visible-stats
Oleg Broytman [Thu, 10 Dec 2015 17:33:59 +0000 (20:33 +0300)]
.inputrc: set skip-completed-text and visible-stats

8 years ago.gitconfig: add 'root' aliases
Oleg Broytman [Sat, 28 Nov 2015 19:48:05 +0000 (22:48 +0300)]
.gitconfig: add 'root' aliases

8 years agoAdd README
Oleg Broytman [Fri, 27 Nov 2015 21:36:10 +0000 (00:36 +0300)]
Add README

8 years ago.inputrc: explain searching backward/forward
Oleg Broytman [Fri, 27 Nov 2015 19:02:47 +0000 (22:02 +0300)]
.inputrc: explain searching backward/forward

8 years ago.psqlrc: update
Oleg Broytman [Fri, 27 Nov 2015 18:53:23 +0000 (21:53 +0300)]
.psqlrc: update

8 years ago.shellrc: clear bash history
Oleg Broytman [Fri, 27 Nov 2015 06:24:12 +0000 (09:24 +0300)]
.shellrc: clear bash history

8 years ago.shellrc: only remove .sh_history, not any .*history*
Oleg Broytman [Fri, 27 Nov 2015 06:22:56 +0000 (09:22 +0300)]
.shellrc: only remove .sh_history, not any .*history*

9 years agowget: minor refactoring (reorder options)
Oleg Broytman [Thu, 26 Nov 2015 22:53:57 +0000 (01:53 +0300)]
wget: minor refactoring (reorder options)

9 years ago.gtkrc: update for Pidgin
Oleg Broytman [Thu, 26 Nov 2015 22:52:04 +0000 (01:52 +0300)]
.gtkrc: update for Pidgin

Use <Enter> key to edit text in Pidgin, use <C-Enter> key to send.

9 years ago.project: change job
Oleg Broytman [Thu, 26 Nov 2015 22:50:53 +0000 (01:50 +0300)]
.project: change job

I'm no longer work for BioChemMack, I'm now in STCnet "Atlas".

9 years ago.shellrc: always pass options -FRX to less
Oleg Broytman [Thu, 26 Nov 2015 22:21:22 +0000 (01:21 +0300)]
.shellrc: always pass options -FRX to less

9 years ago.shellrc: remove grep/ls colorful aliases
Oleg Broytman [Mon, 16 Nov 2015 19:41:00 +0000 (22:41 +0300)]
.shellrc: remove grep/ls colorful aliases

There are simply too many GNU programs with --color parameter and too
many variants (like ll and such).

9 years ago.profile, .shellrc: use dircolors
Oleg Broytman [Tue, 6 Oct 2015 18:55:17 +0000 (21:55 +0300)]
.profile, .shellrc: use dircolors

9 years ago.shellrc: minor refactoring
Oleg Broytman [Tue, 6 Oct 2015 18:54:18 +0000 (21:54 +0300)]
.shellrc: minor refactoring

Change functions to be more sh-like (less bashy).

9 years ago.gitconfig: remove core.pager and pass -FRSX in env
Oleg Broytman [Mon, 5 Oct 2015 09:11:55 +0000 (12:11 +0300)]
.gitconfig: remove core.pager and pass -FRSX in env

When PAGER is exactly 'less' (without additional options) git uses
internal knowledge about its arguments.