<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/.bashrc, branch main</title>
<subtitle>My own dotfiles.
</subtitle>
<id>https://git.mssola.com/misc/dotfiles/atom?h=main</id>
<link rel='self' href='https://git.mssola.com/misc/dotfiles/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/'/>
<updated>2026-05-11T21:12:31Z</updated>
<entry>
<title>Use 'bat' even on Debian</title>
<updated>2026-05-11T21:12:31Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2026-05-11T21:11:24Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=072d41380c3e5e92659d1c09ad07381315f1b30f'/>
<id>urn:sha1:072d41380c3e5e92659d1c09ad07381315f1b30f</id>
<content type='text'>
In Debian 'bat' is actually called 'batcat', so accomodate for that as
well.

Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>bin: Guess the QEMU_KERNEL to be used based on cwd</title>
<updated>2025-09-23T14:41:59Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mssola@mssola.com</email>
</author>
<published>2025-09-23T14:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=29523170630804b6083c6d46ac54d65e06bde176'/>
<id>urn:sha1:29523170630804b6083c6d46ac54d65e06bde176</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mssola@mssola.com&gt;
</content>
</entry>
<entry>
<title>bash: Add the DIFF environment variable</title>
<updated>2025-09-01T05:27:42Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-09-01T05:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=d37a34ac98514ca45c578b35b6dcb955733eb82d'/>
<id>urn:sha1:d37a34ac98514ca45c578b35b6dcb955733eb82d</id>
<content type='text'>
This allows to specify the diff tool for programs that accept an
alternative for it.

Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>emacs: Don't extend PATH with emacs/bin</title>
<updated>2025-07-14T20:57:42Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-07-14T20:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=c8afbf89a3b0ae4b847bb0c56049f6d49f9bfd84'/>
<id>urn:sha1:c8afbf89a3b0ae4b847bb0c56049f6d49f9bfd84</id>
<content type='text'>
This directory no longer exist since I moved away from Doom.

Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>bash: Remove ugly hacks on ssh setup</title>
<updated>2025-06-02T06:04:04Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-06-02T06:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=252ac0a5a29e68521bd06923be8831f7a0839ab5'/>
<id>urn:sha1:252ac0a5a29e68521bd06923be8831f7a0839ab5</id>
<content type='text'>
In the end they were not needed and brought more problems than they
tried to solve. Moreover, doing this left the RISC-V thingies in a weird
section, so that configuration has been moved up.

Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>Streamline configuration for run-riscv-qemu.sh</title>
<updated>2025-05-07T14:32:19Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-05-07T14:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=72d503eeed47e33bdb365e0e1b9783bc938c6f1e'/>
<id>urn:sha1:72d503eeed47e33bdb365e0e1b9783bc938c6f1e</id>
<content type='text'>
Personal stuff like the location of the kernel image should go into my
.bashrc file, and then require it on `run-riscv-qemu.sh`. Similarly,
some environment variables were dropped, and some others removed. This
brings some much needed consistency to the whole script.

Last but not least, the `run-riscv-qemu.sh` now also had an extra
configurable variable, which is used for the `-cpu` QEMU option. It
defaults to 'max' so we can test the maximum amount of supported
extensions as possible.

Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>bash: PS1: Avoid an extra space on non-git</title>
<updated>2025-05-04T21:34:46Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-05-04T21:34:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=f3fd23972dba7b107cf05901a959c7531c10cf45'/>
<id>urn:sha1:f3fd23972dba7b107cf05901a959c7531c10cf45</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>bash: Simplify the PS1 line</title>
<updated>2025-05-02T20:32:49Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-05-02T20:32:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=79be19ffebe372b43676f6d9f0068324103c19da'/>
<id>urn:sha1:79be19ffebe372b43676f6d9f0068324103c19da</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>bin: Force a busybox path when running QEMU</title>
<updated>2025-04-22T14:09:23Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-04-22T14:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=fe7e74d567537d39020c22fad573b77aed2aa017'/>
<id>urn:sha1:fe7e74d567537d39020c22fad573b77aed2aa017</id>
<content type='text'>
When running QEMU/RISC-V, force the user to provide the `BUSYBOX_SRC`
environment variable. This variable points to the path where busybox has
been built. This way the path to the initramfs is not hardcoded.

Moreover, this allows us to rebuilt the initramfs every time the
`run-riscv-qemu.sh` is called, which in turn brings some consistency to
the process. Plus, this opens the door for allowing files to be passed
into a new `/home` directory for the current user. This way, someone can
just statically compile a binary via cross compilation, and then run it
in isolation with QEMU/RISC-V.

Last but not least, also update the .bashrc file with a value for
`BUSYBOX_SRC` on my system.

Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
<entry>
<title>bash: Add function for converting video to gif</title>
<updated>2025-03-11T14:52:12Z</updated>
<author>
<name>Miquel Sabaté Solà</name>
<email>mikisabate@gmail.com</email>
</author>
<published>2025-03-11T14:52:12Z</published>
<link rel='alternate' type='text/html' href='https://git.mssola.com/misc/dotfiles/commit/?id=eb147aa3c7f3bbbd3fba3f256d3366253d5b627f'/>
<id>urn:sha1:eb147aa3c7f3bbbd3fba3f256d3366253d5b627f</id>
<content type='text'>
Signed-off-by: Miquel Sabaté Solà &lt;mikisabate@gmail.com&gt;
</content>
</entry>
</feed>
