During Windows 10 update some restarts are necessary. Today first update restart broke my Grub and computer refused to boot. I went to BIOS and changed bootloader from Grub to Windows loader. Then Windows update proceed correctly.Continue reading
Offlineimap is tool for syncing mails. But if you delete remote folder after sync it appears again on remote account. I wrote small bash script what solves this problem.Continue reading
In previous post I wrote about file manager Ranger. In Ranger there is keyboard shortcut Shift + S to execute shell (Bash in my case). You can modify /etc/ranger/config/rc.conf (or your local ~/.config/ranger/rc.conf) and add this line:
map S shell bash --rcfile <(cat ~/.bashrc; echo 'PS1="(ranger) $PS1"')
Then you get your prompt prefixed by (ranger) and always know you are in shell of Ranger.