]> git.phdru.name Git - dotfiles.git/log
dotfiles.git
8 weeks ago.fvwmrc: Refactor many SetVolumeAndBrowser functions into one with parameters master
Oleg Broytman [Thu, 17 Apr 2025 18:04:40 +0000 (21:04 +0300)]
.fvwmrc: Refactor many SetVolumeAndBrowser functions into one with parameters

2 months ago.vim: Add `plugin/netrw-config.vim`
Oleg Broytman [Tue, 15 Apr 2025 00:10:27 +0000 (03:10 +0300)]
.vim: Add `plugin/netrw-config.vim`

2 months ago.fvwmrc: Add menu to set volume and suspend/resume browser
Oleg Broytman [Sun, 30 Mar 2025 22:50:58 +0000 (01:50 +0300)]
.fvwmrc: Add menu to set volume and suspend/resume browser

2 months ago.fvwmrc: Skype is dead, remove it
Oleg Broytman [Sun, 30 Mar 2025 22:49:35 +0000 (01:49 +0300)]
.fvwmrc: Skype is dead, remove it

3 months agoFeat(.bashrc): Scan subdirectories in `$HOME/lib/config`
Oleg Broytman [Thu, 20 Mar 2025 10:23:41 +0000 (13:23 +0300)]
Feat(.bashrc): Scan subdirectories in `$HOME/lib/config`

3 months agoFeat(lib/python/init.py): Add `unset_history()`
Oleg Broytman [Wed, 19 Mar 2025 15:55:01 +0000 (18:55 +0300)]
Feat(lib/python/init.py): Add `unset_history()`

3 months agoFeat(lib/python/init.py): Stop using old pyreadlinew32
Oleg Broytman [Wed, 19 Mar 2025 15:54:17 +0000 (18:54 +0300)]
Feat(lib/python/init.py): Stop using old pyreadlinew32

3 months ago.inputrc: Add `Shift-Tab` mapping for backward completion
Oleg Broytman [Sat, 8 Mar 2025 11:51:25 +0000 (14:51 +0300)]
.inputrc: Add `Shift-Tab` mapping for backward completion

3 months agoFeat(.fvwmrc): Start `KeePassXC` in more generic way after upgrade
Oleg Broytman [Fri, 7 Mar 2025 16:02:46 +0000 (19:02 +0300)]
Feat(.fvwmrc): Start `KeePassXC` in more generic way after upgrade

4 months ago.bashrc,.shellrc: Make more simple functions aliases
Oleg Broytman [Tue, 21 Jan 2025 17:46:58 +0000 (20:46 +0300)]
.bashrc,.shellrc: Make more simple functions aliases

5 months agoFeat(.fvwmrc): Start `KeePassXC`
Oleg Broytman [Thu, 16 Jan 2025 09:12:43 +0000 (12:12 +0300)]
Feat(.fvwmrc): Start `KeePassXC`

5 months agoFix(.fvwmrc): Fix function name
Oleg Broytman [Thu, 16 Jan 2025 09:12:19 +0000 (12:12 +0300)]
Fix(.fvwmrc): Fix function name

5 months agoImprove mc-specific `bashrc`
Oleg Broytman [Fri, 3 Jan 2025 14:30:53 +0000 (17:30 +0300)]
Improve mc-specific `bashrc`

Source `~/.bashrc`

5 months ago.profile: Set Qt theme and scale
Oleg Broytman [Sat, 28 Dec 2024 22:17:22 +0000 (01:17 +0300)]
.profile: Set Qt theme and scale

5 months agoRefactor(.profile): move root `xhost` (commented out)
Oleg Broytman [Sat, 28 Dec 2024 22:16:32 +0000 (01:16 +0300)]
Refactor(.profile): move root `xhost` (commented out)

5 months ago.profile: Improve history handling and displaying
Oleg Broytman [Sat, 28 Dec 2024 22:15:03 +0000 (01:15 +0300)]
.profile: Improve history handling and displaying

5 months agoAdd mc-specific `bashrc`
Oleg Broytman [Fri, 27 Dec 2024 17:24:21 +0000 (20:24 +0300)]
Add mc-specific `bashrc`

6 months agoFix(bin): Use my global user-installed python3
Oleg Broytman [Wed, 11 Dec 2024 21:03:13 +0000 (00:03 +0300)]
Fix(bin): Use my global user-installed python3

Many scripts import modules not installed
in the current virtual environment.

6 months agobin/recode_filenames: Fix output encoding
Oleg Broytman [Sat, 30 Nov 2024 17:49:02 +0000 (20:49 +0300)]
bin/recode_filenames: Fix output encoding

6 months agobin: Fix some re-encoding utilities
Oleg Broytman [Thu, 21 Nov 2024 12:20:44 +0000 (15:20 +0300)]
bin: Fix some re-encoding utilities

7 months ago.fvwmrc: Do not use `exec` in pipelines
Oleg Broytman [Wed, 6 Nov 2024 14:55:17 +0000 (17:55 +0300)]
.fvwmrc: Do not use `exec` in pipelines

7 months agoFeat(.fvwmrc): Next image after disabling current
Oleg Broytman [Mon, 4 Nov 2024 18:53:08 +0000 (21:53 +0300)]
Feat(.fvwmrc): Next image after disabling current

7 months agoFeat(.fvwmrc): Zoom 50% and 200%
Oleg Broytman [Mon, 4 Nov 2024 18:52:36 +0000 (21:52 +0300)]
Feat(.fvwmrc): Zoom 50% and 200%

7 months agoFix(.fvwmrc): Fix script name
Oleg Broytman [Mon, 4 Nov 2024 18:51:56 +0000 (21:51 +0300)]
Fix(.fvwmrc): Fix script name

7 months agoAdd `lib/config/conda`
Oleg Broytman [Sat, 2 Nov 2024 13:34:44 +0000 (16:34 +0300)]
Add `lib/config/conda`

Install and configure conda-forge.

7 months agoAdd `lib/config/hosts`
Oleg Broytman [Sat, 2 Nov 2024 13:32:42 +0000 (16:32 +0300)]
Add `lib/config/hosts`

Local hosts file for `bash` and `mc` host completion.

7 months ago.bash_completion.d: Python 3.13
Oleg Broytman [Fri, 25 Oct 2024 15:44:14 +0000 (18:44 +0300)]
.bash_completion.d: Python 3.13

7 months agobin: Refactor and improve more re-encoding utilities
Oleg Broytman [Fri, 25 Oct 2024 11:54:18 +0000 (14:54 +0300)]
bin: Refactor and improve more re-encoding utilities

7 months agobin: Debug and improve filename re-encoding utilities
Oleg Broytman [Thu, 24 Oct 2024 13:47:26 +0000 (16:47 +0300)]
bin: Debug and improve filename re-encoding utilities

9 months agoFix(.mc/menu): Use default encoding to call `webbrowser-encode-url`
Oleg Broytman [Tue, 27 Aug 2024 15:43:11 +0000 (18:43 +0300)]
Fix(.mc/menu): Use default encoding to call `webbrowser-encode-url`

9 months agoFix(webbrowser-encode-url): Encode path
Oleg Broytman [Tue, 27 Aug 2024 15:37:50 +0000 (18:37 +0300)]
Fix(webbrowser-encode-url): Encode path

10 months ago.fvwmrc: Explicitly bind `ssh -D 1080` to `localhost`
Oleg Broytman [Tue, 20 Aug 2024 23:02:45 +0000 (02:02 +0300)]
.fvwmrc: Explicitly bind `ssh -D 1080` to `localhost`

10 months ago.fvwmrc: Disable the current image in XsetBg
Oleg Broytman [Mon, 12 Aug 2024 16:13:32 +0000 (19:13 +0300)]
.fvwmrc: Disable the current image in XsetBg

10 months ago.profile: Enable plumbing commands to be completed
Oleg Broytman [Mon, 29 Jul 2024 18:21:19 +0000 (21:21 +0300)]
.profile: Enable plumbing commands to be completed

11 months agoAdd `lib/config/python3`
Oleg Broytman [Sun, 14 Jul 2024 21:52:12 +0000 (00:52 +0300)]
Add `lib/config/python3`

11 months agolib/config/python: Remove completion
Oleg Broytman [Sun, 14 Jul 2024 21:51:16 +0000 (00:51 +0300)]
lib/config/python: Remove completion

It's now in `.bash_completion.d`.

11 months agoUpdate `lib/config/gpg-agent`
Oleg Broytman [Sun, 14 Jul 2024 21:50:59 +0000 (00:50 +0300)]
Update `lib/config/gpg-agent`

11 months agolib/X11/xterm: Update fonts
Oleg Broytman [Sun, 14 Jul 2024 21:50:29 +0000 (00:50 +0300)]
lib/X11/xterm: Update fonts

11 months ago.bash_completion.d: Update `python-pip` completion
Oleg Broytman [Sun, 14 Jul 2024 21:49:53 +0000 (00:49 +0300)]
.bash_completion.d: Update `python-pip` completion

11 months ago.profile: Add `$FIGNORE`
Oleg Broytman [Wed, 10 Jul 2024 13:03:28 +0000 (16:03 +0300)]
.profile: Add `$FIGNORE`

Ignore object files, backup files, python byte code files, temporary files.

11 months ago.profile: Comment out `MANPATH`
Oleg Broytman [Wed, 10 Jul 2024 13:02:55 +0000 (16:02 +0300)]
.profile: Comment out `MANPATH`

Default is quite good.

11 months ago.bashrc: Ignore spaces at the end of commands in `HISTIGNORE`
Oleg Broytman [Tue, 9 Jul 2024 10:30:37 +0000 (13:30 +0300)]
.bashrc: Ignore spaces at the end of commands in `HISTIGNORE`

11 months ago.profile: Simplify `HISTIGNORE`
Oleg Broytman [Tue, 9 Jul 2024 10:28:58 +0000 (13:28 +0300)]
.profile: Simplify `HISTIGNORE`

11 months agoshell: Add shortcuts for `cgmem_nice`
Oleg Broytman [Tue, 9 Jul 2024 09:53:34 +0000 (12:53 +0300)]
shell: Add shortcuts for `cgmem_nice`

11 months ago.shellrc: Logout or exit
Oleg Broytman [Tue, 9 Jul 2024 09:50:58 +0000 (12:50 +0300)]
.shellrc: Logout or exit

11 months ago.bashrc: Remove excessive function `j`
Oleg Broytman [Tue, 2 Jul 2024 22:56:36 +0000 (01:56 +0300)]
.bashrc: Remove excessive function `j`

11 months ago.shellrc: Make some simple functions aliases
Oleg Broytman [Tue, 2 Jul 2024 22:56:17 +0000 (01:56 +0300)]
.shellrc: Make some simple functions aliases

11 months ago.bashrc: Add alias `uh` to quickly unset `$HISTFILE`
Oleg Broytman [Tue, 2 Jul 2024 22:29:33 +0000 (01:29 +0300)]
.bashrc: Add alias `uh` to quickly unset `$HISTFILE`

12 months agoRefactor(bin/decode-URLs.py): Python3-only
Oleg Broytman [Sat, 15 Jun 2024 13:25:35 +0000 (16:25 +0300)]
Refactor(bin/decode-URLs.py): Python3-only

12 months agoFix(.vim/python/virtualenv.py): Only activate venv for the current version
Oleg Broytman [Mon, 10 Jun 2024 06:13:31 +0000 (09:13 +0300)]
Fix(.vim/python/virtualenv.py): Only activate venv for the current version

12 months agoFeat(zip): Save and restore symlinks
Oleg Broytman [Wed, 5 Jun 2024 17:41:08 +0000 (20:41 +0300)]
Feat(zip): Save and restore symlinks

zip.py: Save symlinks.
unzip.py: Restore symlinks.

12 months agoFeat(.mc/menu): Make `zip` preserve symlinks
Oleg Broytman [Wed, 5 Jun 2024 16:45:16 +0000 (19:45 +0300)]
Feat(.mc/menu): Make `zip` preserve symlinks

13 months agoFix(bin/cp_recode_fname): Fix misspelled message
Oleg Broytman [Fri, 3 May 2024 21:51:57 +0000 (00:51 +0300)]
Fix(bin/cp_recode_fname): Fix misspelled message

13 months agoFix(bin/mplay): Fix option syntax
Oleg Broytman [Fri, 3 May 2024 21:51:34 +0000 (00:51 +0300)]
Fix(bin/mplay): Fix option syntax

16 months agoFeat(recode-filenames-recursive): Allow to omit parameters
Oleg Broytman [Mon, 19 Feb 2024 20:11:34 +0000 (23:11 +0300)]
Feat(recode-filenames-recursive): Allow to omit parameters

16 months agoAdd scripts to copy/move a file with recoded filename
Oleg Broytman [Fri, 9 Feb 2024 11:37:15 +0000 (14:37 +0300)]
Add scripts to copy/move a file with recoded filename

16 months ago.fvwmrc: Different way to blank screen using `xset dpms`
Oleg Broytman [Mon, 5 Feb 2024 16:22:50 +0000 (19:22 +0300)]
.fvwmrc: Different way to blank screen using `xset dpms`

16 months agoFeat(bin/cleanup-recode.sh): Default is the current directory
Oleg Broytman [Sun, 28 Jan 2024 20:56:48 +0000 (23:56 +0300)]
Feat(bin/cleanup-recode.sh): Default is the current directory

16 months agobin: Fix `unzip.py`
Oleg Broytman [Thu, 25 Jan 2024 17:21:40 +0000 (20:21 +0300)]
bin: Fix `unzip.py`

16 months agobin/git-open: Open browser window in private mode
Oleg Broytman [Thu, 25 Jan 2024 17:21:00 +0000 (20:21 +0300)]
bin/git-open: Open browser window in private mode

16 months agobin: Improve `compyle`
Oleg Broytman [Thu, 25 Jan 2024 17:18:57 +0000 (20:18 +0300)]
bin: Improve `compyle`

Ignore error code.
Exclude `tox` and virtual env directories.

16 months agobin: Remove outdated unused scripts
Oleg Broytman [Thu, 25 Jan 2024 17:17:58 +0000 (20:17 +0300)]
bin: Remove outdated unused scripts

17 months agoStyle(.vim/python/completion.py): Fix `flake8` warnings
Oleg Broytman [Sat, 20 Jan 2024 04:14:26 +0000 (07:14 +0300)]
Style(.vim/python/completion.py): Fix `flake8` warnings

17 months agoRefactor(.vim/python/virtualenv.py): Optimize code
Oleg Broytman [Sat, 20 Jan 2024 04:13:30 +0000 (07:13 +0300)]
Refactor(.vim/python/virtualenv.py): Optimize code

Check Python version once outside the loop.

17 months ago.fvwmrc: Run `xset s on` before activating
Oleg Broytman [Thu, 18 Jan 2024 15:49:42 +0000 (18:49 +0300)]
.fvwmrc: Run `xset s on` before activating

`xscreensaver` sets it to off.

Also improve menu titles.

17 months agoFeat(.vim/python/virtualenv.py): Check major Python version
Oleg Broytman [Thu, 18 Jan 2024 12:55:38 +0000 (15:55 +0300)]
Feat(.vim/python/virtualenv.py): Check major Python version

Do not activate the current virtual environment
if it doesn't correspond to the vim's Python version.

17 months agoFeat(.vim/python/virtualenv.py): Search for `activate_this.py` in w32
Oleg Broytman [Thu, 18 Jan 2024 12:52:04 +0000 (15:52 +0300)]
Feat(.vim/python/virtualenv.py): Search for `activate_this.py` in w32

17 months ago.fvwmrc: Use `xset s` to activate screensaver
Oleg Broytman [Tue, 16 Jan 2024 20:52:52 +0000 (23:52 +0300)]
.fvwmrc: Use `xset s` to activate screensaver

Work around a bug in `xscreensaver`. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040948

17 months ago.vim: Rename `RemoveTrailingSpaces` -> `StripTrailingSpaces`
Oleg Broytman [Mon, 1 Jan 2024 15:37:04 +0000 (18:37 +0300)]
.vim: Rename `RemoveTrailingSpaces` -> `StripTrailingSpaces`

17 months ago.shellrc: unset `wrapper`
Oleg Broytman [Sun, 24 Dec 2023 10:28:19 +0000 (13:28 +0300)]
.shellrc: unset `wrapper`

18 months agoMove `.vim/autoload/text.vim` -> `.vim/plugin/text.vim`
Oleg Broytman [Wed, 20 Dec 2023 11:32:54 +0000 (14:32 +0300)]
Move `.vim/autoload/text.vim` -> `.vim/plugin/text.vim`

I use these functions quite often, let them be always available.

18 months agoFix(Py3): Use `urllib.parse.urlsplit()`
Oleg Broytman [Tue, 28 Nov 2023 16:47:38 +0000 (19:47 +0300)]
Fix(Py3): Use `urllib.parse.urlsplit()`

18 months ago.fvwmrc: Do not automatically open terminals with `ssh`
Oleg Broytman [Mon, 27 Nov 2023 15:48:17 +0000 (18:48 +0300)]
.fvwmrc: Do not automatically open terminals with `ssh`

I prefer to do it manually.

18 months agoRefactor(.bashrc): Reorder parts
Oleg Broytman [Thu, 16 Nov 2023 13:54:25 +0000 (16:54 +0300)]
Refactor(.bashrc): Reorder parts

19 months ago.bashrc: Remove second call to `bash_prompt`
Oleg Broytman [Thu, 16 Nov 2023 13:53:43 +0000 (16:53 +0300)]
.bashrc: Remove second call to `bash_prompt`

19 months ago.fvwmrc: Simplify quoting
Oleg Broytman [Wed, 15 Nov 2023 17:17:03 +0000 (20:17 +0300)]
.fvwmrc: Simplify quoting

Get rid of backtick in shell commands, use `$()` instead.

19 months agoFix(xli): Fix window title
Oleg Broytman [Wed, 15 Nov 2023 16:33:31 +0000 (19:33 +0300)]
Fix(xli): Fix window title

`xli` cuts long names on the 1st dot instead of the last.
It seems it recognizes everything after the 1st dot
as a filename extension.

To fix replace all dots with underscores.

19 months ago.bashrc: minor refactoring
Oleg Broytman [Fri, 10 Nov 2023 11:59:55 +0000 (14:59 +0300)]
.bashrc: minor refactoring

19 months ago.bashrc: Fix default `PATH`
Oleg Broytman [Thu, 9 Nov 2023 10:59:31 +0000 (13:59 +0300)]
.bashrc: Fix default `PATH`

19 months ago.bashrc: Separate two tests for the case the dir doesn't exist
Oleg Broytman [Thu, 9 Nov 2023 10:58:59 +0000 (13:58 +0300)]
.bashrc: Separate two tests for the case the dir doesn't exist

19 months agobash_prompt: recurse submodules
Oleg Broytman [Thu, 9 Nov 2023 10:51:48 +0000 (13:51 +0300)]
bash_prompt: recurse submodules

19 months agobin/cleanup-filenames.sh: Remove accents
Oleg Broytman [Mon, 6 Nov 2023 00:37:41 +0000 (03:37 +0300)]
bin/cleanup-filenames.sh: Remove accents

Convert latin1 characters to ascii.

19 months agobin/s: Restore term title
Oleg Broytman [Mon, 6 Nov 2023 00:37:00 +0000 (03:37 +0300)]
bin/s: Restore term title

19 months agobin/compyleall: Do not check error code
Oleg Broytman [Mon, 6 Nov 2023 00:35:30 +0000 (03:35 +0300)]
bin/compyleall: Do not check error code

`compileall` can return error on `SyntaxError`
but the program could continue.

19 months agounzip.py: Fix encoding
Oleg Broytman [Sat, 4 Nov 2023 12:53:17 +0000 (15:53 +0300)]
unzip.py: Fix encoding

19 months agobash_completion: Generate the list of Python/pip versions
Oleg Broytman [Fri, 3 Nov 2023 16:31:06 +0000 (19:31 +0300)]
bash_completion: Generate the list of Python/pip versions

19 months ago.mc/menu: Remove excessive quotes: MC escapes `%[dfst]`
Oleg Broytman [Fri, 3 Nov 2023 13:57:35 +0000 (16:57 +0300)]
.mc/menu: Remove excessive quotes: MC escapes `%[dfst]`

19 months ago.vimrc: Fix error message format
Oleg Broytman [Tue, 24 Oct 2023 11:01:12 +0000 (14:01 +0300)]
.vimrc: Fix error message format

Vim 9 slightly changed the format.

20 months ago.bashrc: Extract git-related functions to a separate file
Oleg Broytman [Mon, 16 Oct 2023 14:23:07 +0000 (17:23 +0300)]
.bashrc: Extract git-related functions to a separate file

There're more than just completions.

20 months ago.bashrc: Extract oft-edited completion to a separate file
Oleg Broytman [Mon, 16 Oct 2023 14:17:35 +0000 (17:17 +0300)]
.bashrc: Extract oft-edited completion to a separate file

20 months ago.bashrc: Invert conditions
Oleg Broytman [Mon, 16 Oct 2023 14:06:29 +0000 (17:06 +0300)]
.bashrc: Invert conditions

`! has_completion $cmd &&` -> `has_completion $cmd ||`

20 months ago.bashrc: Check the dir is not empty before looping over files
Oleg Broytman [Mon, 16 Oct 2023 13:54:48 +0000 (16:54 +0300)]
.bashrc: Check the dir is not empty before looping over files

20 months ago.bashrc, .shellrc: Add `cd_worktree` with completion
Oleg Broytman [Sun, 15 Oct 2023 12:24:03 +0000 (15:24 +0300)]
.bashrc, .shellrc: Add `cd_worktree` with completion

20 months ago.bashrc, .shellrc: Move `cdgitpath`
Oleg Broytman [Sun, 15 Oct 2023 12:22:44 +0000 (15:22 +0300)]
.bashrc, .shellrc: Move `cdgitpath`

It doesn't contain any bash-related funcionality.

20 months ago.bashrc: Add completions for Python/pip 3.12
Oleg Broytman [Sun, 15 Oct 2023 12:22:07 +0000 (15:22 +0300)]
.bashrc: Add completions for Python/pip 3.12

20 months ago.bashrc: Save history and open a new `screen` window
Oleg Broytman [Sat, 30 Sep 2023 11:47:25 +0000 (14:47 +0300)]
.bashrc: Save history and open a new `screen` window

21 months ago.fvwmrc: Adjust `mpv` initial window position
Oleg Broytman [Wed, 6 Sep 2023 18:05:27 +0000 (21:05 +0300)]
.fvwmrc: Adjust `mpv` initial window position

22 months ago.fvwmrc: If network is not up - report and break
Oleg Broytman [Sat, 19 Aug 2023 20:03:43 +0000 (23:03 +0300)]
.fvwmrc: If network is not up - report and break

22 months ago.fvwmrc: Do not break out of all callers, just break this function
Oleg Broytman [Sat, 19 Aug 2023 20:03:13 +0000 (23:03 +0300)]
.fvwmrc: Do not break out of all callers, just break this function

22 months ago.fvwmrc: Open remote hosts' terms on startup and resume
Oleg Broytman [Sat, 19 Aug 2023 19:04:09 +0000 (22:04 +0300)]
.fvwmrc: Open remote hosts' terms on startup and resume