]> git.phdru.name Git - dotfiles.git/log
dotfiles.git
7 years ago.profile: comment out MOTD handling
Oleg Broytman [Wed, 12 Oct 2016 19:28:22 +0000 (22:28 +0300)]
.profile: comment out MOTD handling

I never use .hushlogin anyway.

7 years ago.shellrc: minor refactoring
Oleg Broytman [Wed, 12 Oct 2016 03:26:27 +0000 (06:26 +0300)]
.shellrc: minor refactoring

Move pyenv init and virtualenvwrapper under $BASH_VERSION test.

7 years ago.shellrc: delegate completion for `p` as for `ping`
Oleg Broytman [Tue, 11 Oct 2016 20:16:46 +0000 (23:16 +0300)]
.shellrc: delegate completion for `p` as for `ping`

7 years ago.gitconfig: add lasttag and lasttagged aliases
Oleg Broytman [Thu, 6 Oct 2016 10:49:04 +0000 (13:49 +0300)]
.gitconfig: add lasttag and lasttagged aliases

7 years ago.gitconfig: reorder options for 'tags' alias
Oleg Broytman [Thu, 6 Oct 2016 10:48:30 +0000 (13:48 +0300)]
.gitconfig: reorder options for 'tags' alias

7 years ago.shellrc: source virtualenvwrapper from the PATH
Oleg Broytman [Wed, 28 Sep 2016 20:24:03 +0000 (23:24 +0300)]
.shellrc: source virtualenvwrapper from the PATH

virtualenvwrapper can be anywhere - in /usr/bin, /usr/local/bin, etc.

7 years ago.vim: change colors; fix colors for dark bg
Oleg Broytman [Wed, 21 Sep 2016 11:00:44 +0000 (14:00 +0300)]
.vim: change colors; fix colors for dark bg

7 years agolib/python/init.py: fix Pager
Oleg Broytman [Mon, 19 Sep 2016 20:19:41 +0000 (23:19 +0300)]
lib/python/init.py: fix Pager

7 years ago.profile, .shellrc: minor refactoring
Oleg Broytman [Fri, 16 Sep 2016 22:13:57 +0000 (01:13 +0300)]
.profile, .shellrc: minor refactoring

7 years ago.shellrc: uncomment and refactor function chlo
Oleg Broytman [Fri, 16 Sep 2016 20:49:01 +0000 (23:49 +0300)]
.shellrc: uncomment and refactor function chlo

7 years ago.shellrc: uncomment a test
Oleg Broytman [Fri, 16 Sep 2016 20:48:22 +0000 (23:48 +0300)]
.shellrc: uncomment a test

7 years ago.shellrc: make env-independent functions scripts
Oleg Broytman [Fri, 16 Sep 2016 20:37:45 +0000 (23:37 +0300)]
.shellrc: make env-independent functions scripts

7 years ago.shellrc: remove clo aliases - clear is called in .logout
Oleg Broytman [Fri, 16 Sep 2016 20:36:15 +0000 (23:36 +0300)]
.shellrc: remove clo aliases - clear is called in .logout

7 years ago.fvwmrc: remove ssh connection sharing terminals
Oleg Broytman [Wed, 14 Sep 2016 21:08:59 +0000 (00:08 +0300)]
.fvwmrc: remove ssh connection sharing terminals

I have learned

ControlPersist 600

ssh settings.

7 years ago.vim: change colors
Oleg Broytman [Mon, 12 Sep 2016 07:00:57 +0000 (10:00 +0300)]
.vim: change colors

7 years agolib/python/init.py: catch and report pager errors
Oleg Broytman [Sat, 10 Sep 2016 21:25:07 +0000 (00:25 +0300)]
lib/python/init.py: catch and report pager errors

Most probably it's UnicodeEncodeError.

7 years ago.vim/colors/phd.vim: change color schema
Oleg Broytman [Sat, 10 Sep 2016 01:04:23 +0000 (04:04 +0300)]
.vim/colors/phd.vim: change color schema

7 years agolib/X11/xterm: change rxvt colors
Oleg Broytman [Sat, 10 Sep 2016 01:02:26 +0000 (04:02 +0300)]
lib/X11/xterm: change rxvt colors

Remove old outdated unused keysyms.

7 years agolib/X11/fonts: add Xft settings
Oleg Broytman [Sat, 10 Sep 2016 01:01:51 +0000 (04:01 +0300)]
lib/X11/fonts: add Xft settings

7 years ago.Xresources: remove old outdated unused resources
Oleg Broytman [Sat, 10 Sep 2016 01:00:25 +0000 (04:00 +0300)]
.Xresources: remove old outdated unused resources

7 years ago.tmux.conf: change outdated bg/fg commands to style
Oleg Broytman [Thu, 1 Sep 2016 19:56:17 +0000 (22:56 +0300)]
.tmux.conf: change outdated bg/fg commands to style

7 years ago.screenrc: change status colors
Oleg Broytman [Thu, 1 Sep 2016 19:54:22 +0000 (22:54 +0300)]
.screenrc: change status colors

for inactive windows - black on cyan
for active window - white on blue

7 years ago.mc/menu: reorder extensions alphabetically
Oleg Broytman [Wed, 31 Aug 2016 22:16:57 +0000 (01:16 +0300)]
.mc/menu: reorder extensions alphabetically

7 years ago.fvwmrc: I renamed 'misc' to 'dashboard'
Oleg Broytman [Mon, 29 Aug 2016 21:14:55 +0000 (00:14 +0300)]
.fvwmrc: I renamed 'misc' to 'dashboard'

7 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

7 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

7 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

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

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

7 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

7 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

7 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

7 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

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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

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