]>
git.phdru.name Git - dotfiles.git/log
Oleg Broytman [Sat, 10 Sep 2022 13:02:20 +0000 (16:02 +0300)]
shell: Fix indent (3 spaces -> 4)
Oleg Broytman [Tue, 6 Sep 2022 11:09:03 +0000 (14:09 +0300)]
.profile: Add `$SCREENDIR`
Commented out.
Oleg Broytman [Tue, 6 Sep 2022 11:08:07 +0000 (14:08 +0300)]
.profile: Move motd closer to the beginning
To the very start of the interactive session.
Oleg Broytman [Sat, 3 Sep 2022 16:15:11 +0000 (19:15 +0300)]
.screenrc: Use `caption` instead of `hardstatus`
With `caption` `screen` changes terminal icon name.
Oleg Broytman [Wed, 24 Aug 2022 20:40:19 +0000 (23:40 +0300)]
.fvwmrc: `xscreensaver`: Suspend screen
Turn off power immediately.
Oleg Broytman [Mon, 22 Aug 2022 15:54:08 +0000 (18:54 +0300)]
.shellrc: Do not reset `PS1`
Oleg Broytman [Mon, 22 Aug 2022 15:53:18 +0000 (18:53 +0300)]
.shellrc: Use `PS1+=` to avoid overriding `PS1`
Oleg Broytman [Mon, 22 Aug 2022 15:52:23 +0000 (18:52 +0300)]
.shellrc: Add function `last_cmd_status`
Oleg Broytman [Mon, 22 Aug 2022 15:51:37 +0000 (18:51 +0300)]
.shellrc: Rename `set_prompts` -> `set_prompt`
Oleg Broytman [Tue, 16 Aug 2022 09:59:29 +0000 (12:59 +0300)]
.fvwmrc: Rename `Term2Hosts` -> `Term2HostsHome`
They are my personal hosts.
Need to distinguish them from hosts at the job.
Oleg Broytman [Tue, 9 Aug 2022 08:04:30 +0000 (11:04 +0300)]
bin/l: preserve the terminal content
Switch to alternate screen.
Oleg Broytman [Wed, 22 Jun 2022 20:28:11 +0000 (23:28 +0300)]
.fvwmrc: Remove `oper.med.ru`
Oleg Broytman [Wed, 22 Jun 2022 20:10:47 +0000 (23:10 +0300)]
I'm no longer working at NRSC
Oleg Broytman [Sat, 14 May 2022 12:14:03 +0000 (15:14 +0300)]
html.vim: Remove `</meta>`
Oleg Broytman [Sun, 1 May 2022 20:49:14 +0000 (23:49 +0300)]
Fix(bin): Fix `KillAll`: `return` -> `exit`
The script was not fully ported from a shell function.
Oleg Broytman [Mon, 18 Apr 2022 03:12:02 +0000 (06:12 +0300)]
.procmailrc: Catch mail from GHActions for Cheetah
Catch notifications from GitHub Actions for CheetahTemplate.
Oleg Broytman [Sat, 9 Apr 2022 13:22:42 +0000 (16:22 +0300)]
.vim: Use `programming_lang.vim` in `python.vim`
Oleg Broytman [Tue, 5 Apr 2022 10:44:10 +0000 (13:44 +0300)]
.fvwmrc: Reorder buttons
Put more frequently used audio player to the corner.
Oleg Broytman [Sat, 2 Apr 2022 12:06:57 +0000 (15:06 +0300)]
Refactor(.vim/ftplugin): Settings common to all programming languages
Oleg Broytman [Sat, 2 Apr 2022 12:00:29 +0000 (15:00 +0300)]
.vim: Add `ftplugin/javascript.vim`
Oleg Broytman [Mon, 28 Mar 2022 12:25:19 +0000 (15:25 +0300)]
.vim: Feat(ftplugin/python): Avoid double indent
Oleg Broytman [Sun, 27 Feb 2022 01:43:41 +0000 (04:43 +0300)]
.fvwmrc: Improve terminal/ssh menus
Use `-xrm "*Page:"` to start terminals
at the designated virtual screens.
Oleg Broytman [Sun, 27 Feb 2022 01:42:54 +0000 (04:42 +0300)]
.fvwmrc: Quote macro definitions
Oleg Broytman [Sun, 27 Feb 2022 01:42:06 +0000 (04:42 +0300)]
Fix(.fvwmrc): Restore quotes
Oleg Broytman [Fri, 25 Feb 2022 01:37:50 +0000 (04:37 +0300)]
.fvwmrc: Give more memory to `skype`
Oleg Broytman [Thu, 24 Feb 2022 21:04:20 +0000 (00:04 +0300)]
.fvwmrc: remove more empty lines
Oleg Broytman [Sat, 19 Feb 2022 01:48:04 +0000 (04:48 +0300)]
.fvwmrc: Improve buttons
Use `Exec "hangon"`.
Use `FvwmCommand` in `Exec exec` to start programs
at the designated virtual screens.
Use `-xrm "*Page:"` in `Exec exec TERM` to start terminals
at the designated virtual screens.
Oleg Broytman [Sat, 19 Feb 2022 01:46:54 +0000 (04:46 +0300)]
.fvwmrc: Fix quoting
Use double-quoting to avoid macro expansion too early.
Oleg Broytman [Sat, 19 Feb 2022 01:45:00 +0000 (04:45 +0300)]
.fvwmrc: Combine terminal macros into `Term3Hosts`
These macros no longer used separately.
Oleg Broytman [Sat, 19 Feb 2022 01:42:59 +0000 (04:42 +0300)]
.fvwmrc: Remove unused functions `*-Big`
Oleg Broytman [Sat, 19 Feb 2022 01:39:06 +0000 (04:39 +0300)]
.fvwmrc: Remove unused function `AudioPlayer`
Oleg Broytman [Sat, 19 Feb 2022 01:35:51 +0000 (04:35 +0300)]
.fvwmrc: Move `SSH` into `SSH_SCREEN_*` macros
Avoid `SSH SSH_SCREEN`.
Oleg Broytman [Sat, 19 Feb 2022 01:33:05 +0000 (04:33 +0300)]
.fvwmrc: Remove empty lines
Oleg Broytman [Thu, 10 Feb 2022 14:39:00 +0000 (17:39 +0300)]
.fvwmrc: Pass `$TZ` from the local host
Oleg Broytman [Thu, 10 Feb 2022 09:33:09 +0000 (12:33 +0300)]
.fvwmrc: Shorten titles to decrease buttons' size
Oleg Broytman [Thu, 10 Feb 2022 00:35:27 +0000 (03:35 +0300)]
Fix(.fvwmrc): Fix macro in a comment
Oleg Broytman [Thu, 10 Feb 2022 00:29:45 +0000 (03:29 +0300)]
Refactor(.fvwmrc): Refactor macros for big terminals
Oleg Broytman [Thu, 10 Feb 2022 00:21:35 +0000 (03:21 +0300)]
Refactor(.fvwmrc): Combine term+ssh+screen macros
Oleg Broytman [Wed, 9 Feb 2022 23:18:48 +0000 (02:18 +0300)]
.fvwmrc: Rename terminal macros
The structure of new name is:
terminal, encoding, geometry, ssh, screen.
Oleg Broytman [Wed, 9 Feb 2022 16:57:00 +0000 (19:57 +0300)]
.fvwmrc: Remove unused font definitions
Oleg Broytman [Tue, 8 Feb 2022 21:21:57 +0000 (00:21 +0300)]
webbrowser: Allow to open a new window/tab without an URL
Oleg Broytman [Thu, 3 Feb 2022 00:23:46 +0000 (03:23 +0300)]
.fvwmrc: Mark remote hosts with `screen`
Oleg Broytman [Mon, 3 Jan 2022 23:11:31 +0000 (02:11 +0300)]
.mc/mc.ext: `*.inpx` are zip files
Oleg Broytman [Mon, 3 Jan 2022 23:11:04 +0000 (02:11 +0300)]
.mc/mc.ext: Refactor opening/viewing zip files
Oleg Broytman [Mon, 3 Jan 2022 20:11:56 +0000 (23:11 +0300)]
.mc/menu: Make loud the default instead of louder
Oleg Broytman [Mon, 3 Jan 2022 20:11:25 +0000 (23:11 +0300)]
.mc/menu: Add quiet mplayer menu item
Oleg Broytman [Fri, 17 Dec 2021 15:22:28 +0000 (18:22 +0300)]
bash_prompt: Run `ls-files` from the root of the repo
Running `ls-files` in a subdirectory could miss files
in other parts of the working tree.
Oleg Broytman [Tue, 7 Dec 2021 14:19:21 +0000 (17:19 +0300)]
.bashrc: Delegate python completion for python3.10
Oleg Broytman [Wed, 1 Dec 2021 14:05:00 +0000 (17:05 +0300)]
mc.ext: View Python packages
View Python packages (eggs and wheels) as ZIP files.
Oleg Broytman [Wed, 10 Nov 2021 16:08:02 +0000 (19:08 +0300)]
.gitconfig: Refactor merge/pull-request aliases
Oleg Broytman [Fri, 15 Oct 2021 23:13:16 +0000 (02:13 +0300)]
.gitconfig: Default branch is `master`
Oleg Broytman [Wed, 13 Oct 2021 15:08:09 +0000 (18:08 +0300)]
bash_prompt: Change `screen`/`tmux` titles
Cut long directories.
Prepend current time and memory control group.
Oleg Broytman [Wed, 6 Oct 2021 09:54:59 +0000 (12:54 +0300)]
.fvwmrc: `
deadbeef ` requires more memory
Oleg Broytman [Wed, 6 Oct 2021 09:54:34 +0000 (12:54 +0300)]
.fvwmrc: Place `
deadbeef ` at the bottom right
Oleg Broytman [Sun, 3 Oct 2021 14:47:03 +0000 (17:47 +0300)]
`bin/r`: Remove option `-4` from `rsync`
Add `-v`.
Oleg Broytman [Fri, 1 Oct 2021 16:16:25 +0000 (19:16 +0300)]
Add `cgmn` as a symlink to `cgmem_nice`
Oleg Broytman [Fri, 1 Oct 2021 14:49:44 +0000 (17:49 +0300)]
`ssh`: Remove option `-4`
Oleg Broytman [Thu, 30 Sep 2021 15:51:12 +0000 (18:51 +0300)]
Switch from `audacious` to `
deadbeef `
`audacious` again lost ability to work with koi8 filesystems.
`
deadbeef ` restored it. :-)
Oleg Broytman [Wed, 29 Sep 2021 14:02:00 +0000 (17:02 +0300)]
.fvwmrc: Enlarge fonts for Qt-based `audacious`
Oleg Broytman [Mon, 30 Aug 2021 13:07:50 +0000 (16:07 +0300)]
.fvwmrc: Remove dead code
I used to have a separate terminal with root logged in
but now I use `sudo` instead.
Oleg Broytman [Sun, 8 Aug 2021 16:39:46 +0000 (19:39 +0300)]
.fvwmrc: Add a menu to open a terminal with SSH with SOCKS5 proxy
Oleg Broytman [Sun, 1 Aug 2021 00:21:48 +0000 (03:21 +0300)]
.fvwmrc: Run Firefox with a fixed profile
Oleg Broytman [Wed, 7 Jul 2021 09:06:23 +0000 (12:06 +0300)]
.profile: Adapt to newer `pyenv`
Oleg Broytman [Thu, 1 Jul 2021 17:17:13 +0000 (20:17 +0300)]
.mc: Treat `*.m3u8` as playlists
Oleg Broytman [Thu, 10 Jun 2021 16:43:08 +0000 (19:43 +0300)]
.mc/menu: View pdf with `qpdfview`
I use non-UTF8 (KOI8-R) locale but `qpdfview` no longer opens non-UTF8 paths.
The menu item opens the file directly using `qpdfview`
if the full path is UTF8-encoded. If not the code creates ASCII-only symlink
in `~/home/tmp/` that encodes the full path in its name to make `qpdfview`
store session info for the file.
Oleg Broytman [Sun, 30 May 2021 11:30:46 +0000 (14:30 +0300)]
Feat(bash_prompt): Show current time
Oleg Broytman [Sat, 29 May 2021 09:15:01 +0000 (12:15 +0300)]
.fvwm: Switch desktop
Oleg Broytman [Thu, 27 May 2021 02:26:55 +0000 (05:26 +0300)]
.screenrc: Fix and improve comments
Oleg Broytman [Wed, 26 May 2021 23:34:18 +0000 (02:34 +0300)]
.bashrc: Set `LANG=C` in non-interactive non-login-shells
Make `ssh host date` to display in 24-hour format.
Oleg Broytman [Tue, 25 May 2021 23:19:32 +0000 (02:19 +0300)]
Fix(bin/xtitle): Use `$(hostname)` instead of `${HOSTNAME}`
`${HOSTNAME}` is a bashism.
Oleg Broytman [Sat, 22 May 2021 01:56:50 +0000 (04:56 +0300)]
.fvwm: Open SOCKS5 proxy from a different command
Oleg Broytman [Sat, 22 May 2021 01:46:59 +0000 (04:46 +0300)]
.fvwm: Open 3 terminals to my regular hosts
Oleg Broytman [Sat, 1 May 2021 20:27:31 +0000 (23:27 +0300)]
.bashrc: Copy minor initialization from `.profile`
Oleg Broytman [Tue, 27 Apr 2021 05:42:08 +0000 (08:42 +0300)]
Feat(bash_prompt): Set default value for `$COLUMNS` to 80
Oleg Broytman [Mon, 26 Apr 2021 16:28:44 +0000 (19:28 +0300)]
Refactor(xtitle): Reuse `$TITLE`
Oleg Broytman [Mon, 26 Apr 2021 16:18:59 +0000 (19:18 +0300)]
Refactor(bash_prompt): Reuse `$PS1`
Oleg Broytman [Mon, 26 Apr 2021 15:17:12 +0000 (18:17 +0300)]
Feat(bash_prompt): Cut dirs to 20% of the term width
Oleg Broytman [Mon, 26 Apr 2021 09:01:14 +0000 (12:01 +0300)]
Refactor(.bashrc,.shellrc): Move unalias closer to the function
Oleg Broytman [Mon, 26 Apr 2021 00:10:46 +0000 (03:10 +0300)]
Refactor(bash_prompt): Put `\[`/`\]` once
Oleg Broytman [Mon, 26 Apr 2021 00:09:36 +0000 (03:09 +0300)]
Refactor(.shellrc): Remove `$OPS1`, only use `$PS1`
Oleg Broytman [Sun, 25 Apr 2021 22:59:11 +0000 (01:59 +0300)]
Refactor(.shellrc): Test for `mc` down the stack
Midnight Commander prevents setting screen/tmux caption.
Oleg Broytman [Sun, 25 Apr 2021 22:34:24 +0000 (01:34 +0300)]
Fix(bash_prompt): Fix xterm title/icon under `screen`
Oleg Broytman [Sun, 25 Apr 2021 22:03:45 +0000 (01:03 +0300)]
Feat(bash_prompt): Improve `PS1` generation
Refactor the common part (`_COMMON_PROMPT`).
Use apostrophes instead of double quotes.
Oleg Broytman [Sun, 25 Apr 2021 21:13:48 +0000 (00:13 +0300)]
Fix(xtitle): Set xterm title/icon under screen/tmux
Requires `ESC P...ESC \\` pass-through escape codes.
Oleg Broytman [Sun, 25 Apr 2021 15:01:35 +0000 (18:01 +0300)]
.bashrc,.profile,.shellrc: Move bash-only code to `.bashrc`
Oleg Broytman [Fri, 2 Apr 2021 09:48:33 +0000 (12:48 +0300)]
.shellrc: Lazily load `pip` completion
Oleg Broytman [Wed, 31 Mar 2021 17:19:42 +0000 (20:19 +0300)]
.muttrc: View the 1st html attachment from index or pager
Oleg Broytman [Fri, 26 Mar 2021 15:15:10 +0000 (18:15 +0300)]
.shellrc: Delegate with option `nospace`
Oleg Broytman [Thu, 11 Feb 2021 17:23:24 +0000 (20:23 +0300)]
.mc/menu: Edit images with `gimp`
Oleg Broytman [Thu, 11 Feb 2021 11:55:25 +0000 (14:55 +0300)]
.mc/mc.ext: Use `cat` with `%view{ascii}`
Oleg Broytman [Sat, 6 Feb 2021 00:16:44 +0000 (03:16 +0300)]
.shellrc: Delegate rsync completion for `rsync_cgmn_recode2`
Oleg Broytman [Sun, 31 Jan 2021 19:31:47 +0000 (22:31 +0300)]
Revert ".shellrc: Avoid excessive spaces on completion"
This reverts commit
e158ad17f8a02a7fb77cba0caffd90bd83213b21 .
Most of the time I need a space.
In rare cases when it's excessive
I can simply remove it with backspace.
Oleg Broytman [Sat, 30 Jan 2021 19:52:16 +0000 (22:52 +0300)]
Feat(.mc/menu): Identify TIFF/WEBP images
Use `identify` from ImageMagick.
`xli` doesn't understand these types of images.
Oleg Broytman [Sat, 30 Jan 2021 19:51:03 +0000 (22:51 +0300)]
Fix(.mc/menu): Left random playlist in the current directory
Files in playlists have relative paths.
Oleg Broytman [Wed, 20 Jan 2021 17:15:23 +0000 (20:15 +0300)]
.shellrc: Delegate python completion
Oleg Broytman [Wed, 20 Jan 2021 17:14:48 +0000 (20:14 +0300)]
Feat(bash-prompt): Switch back to `prompt_git`
See commit:
90cf992 .
Oleg Broytman [Wed, 30 Dec 2020 22:47:48 +0000 (01:47 +0300)]
.fvwmrc: Run `Skype` from `FvwmButtons`
Remove a button for `pavucontrol`.
Oleg Broytman [Mon, 28 Dec 2020 13:18:42 +0000 (16:18 +0300)]
bash_prompt: minor refactoring
Remove external `if`.
Oleg Broytman [Fri, 18 Dec 2020 15:58:52 +0000 (18:58 +0300)]
.fvwm: (Re)start `pulseaudio`
Oleg Broytman [Thu, 17 Dec 2020 23:05:06 +0000 (02:05 +0300)]
.fvwm: Reorder suspend commands