aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
Commit message (Collapse)AuthorAgeFilesLines
* Use 'bat' even on DebianMiquel Sabaté Solà2026-05-111-3/+11
| | | | | | | In Debian 'bat' is actually called 'batcat', so accomodate for that as well. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* bin: Guess the QEMU_KERNEL to be used based on cwdMiquel Sabaté Solà2025-09-231-1/+0
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* bash: Add the DIFF environment variableMiquel Sabaté Solà2025-09-011-0/+3
| | | | | | | This allows to specify the diff tool for programs that accept an alternative for it. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* emacs: Don't extend PATH with emacs/binMiquel Sabaté Solà2025-07-141-3/+0
| | | | | | This directory no longer exist since I moved away from Doom. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bash: Remove ugly hacks on ssh setupMiquel Sabaté Solà2025-06-021-39/+16
| | | | | | | | 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à <mikisabate@gmail.com>
* Streamline configuration for run-riscv-qemu.shMiquel Sabaté Solà2025-05-071-2/+3
| | | | | | | | | | | | | | 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à <mikisabate@gmail.com>
* bash: PS1: Avoid an extra space on non-gitMiquel Sabaté Solà2025-05-041-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bash: Simplify the PS1 lineMiquel Sabaté Solà2025-05-021-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: Force a busybox path when running QEMUMiquel Sabaté Solà2025-04-221-0/+4
| | | | | | | | | | | | | | | | | | 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à <mikisabate@gmail.com>
* bash: Add function for converting video to gifMiquel Sabaté Solà2025-03-111-0/+15
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bash: Remove unused aliasesMiquel Sabaté Solà2024-08-281-6/+0
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Make 'e' my new EDITORMiquel Sabaté Solà2024-08-261-8/+5
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Fix style on bashrcMiquel Sabaté Solà2024-08-261-31/+31
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Set ARCH and CROSS_COMPILE at the bash levelMiquel Sabaté Solà2024-07-241-0/+11
| | | | | | | Funnily enough, running something like `. cross` makes bash unstable. Hence, let's go back to mere .bashrc exporting. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bash: add guards on programs that may not existMiquel Sabaté Solà2024-07-101-43/+47
| | | | | | Namely, fzf and mise are quite noisy when they are not available. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add mise into bashMiquel Sabaté Solà2024-07-101-13/+56
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add fzf into bashMiquel Sabaté Solà2024-07-101-0/+3
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Moved .doom.d -> .config/doomMiquel Sabaté Solà2024-04-021-3/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bash: added g completionMiquel Sabaté Solà2023-08-311-0/+3
| | | | | | I don't know why it wasn't there... Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Updated nodejs version being usedMiquel Sabaté Solà2023-08-301-2/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Updated install script and fixed outdated configMiquel Sabaté Solà2023-08-231-2/+16
| | | | | | | | | | | After trying up this whole thing on a fresh VM I got into a lot of old stuff that needed some updating (e.g. GNU Emacs' configuration which is now handled through Doom). Other than that, I have also added a few goodies when I'm using this on a VM, like a proper size for the TTY. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Tidying up my bashrcMiquel Sabaté Solà2023-08-231-8/+6
| | | | | | | Moved XDG variable into the proper user-dirs.dirs file, and ensured that the RVM lines are on the end. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bash: using bat as a replacement for catMiquel Sabaté Solà2023-05-251-0/+14
| | | | | | | | This is only done if the binary actually exists, and then we change environment variables such as MANPAGER and MANROFFOPT so everything works seemlessly. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Updated the node version being usedMiquel Sabaté Solà2022-07-311-1/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Add rust into my dev boxMiquel Sabaté Solà2021-10-251-0/+8
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: switched to Doom EmacsMiquel Sabaté Solà2021-10-171-0/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Small updates on i3 and bashMiquel Sabaté Solà2021-09-091-3/+0
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bash: set the PROMPT_COMMAND environment variableMiquel Sabaté Solà2021-01-211-0/+4
| | | | | | | This is useful for terminals that don't touch the title bar by themselves like alacritty, which expected the application to actually change it. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* emacs: fixed directoriesMiquel Sabaté Solà2020-10-221-10/+16
| | | | | | | - Use `user-emacs-directory` instead of `~/.emacs.d` directly. - Use XDG-related environment variables, which are set on the `bashrc` file. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bin: introducing the xo binaryMiquel Sabaté Solà2020-10-101-3/+0
| | | | | | | This is just a dumb replacement for the previous `xo` shell alias, so I can avoid some of the shortcomings of `xdg-open`. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bash: fixed some weird issue on bash completionsMiquel Sabaté Solà2020-08-121-2/+1
| | | | | | Basically on alacritty. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Trying out alacritty as the terminal emulatorMiquel Sabaté Solà2020-08-121-0/+4
| | | | | | | | For now I've built it from source, which maybe isn't the best option. I've also updated the hunspell dictionary. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bash: upgrade the default nodeMiquel Sabaté Solà2020-04-131-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bash: yarn hack no longer neededMiquel Sabaté Solà2020-03-311-2/+0
| | | | | | | I've now recovered my RPM package from home:mssola. I will keep yarn up-to-date there. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Minor improvements here and thereMiquel Sabaté Solà2019-12-021-0/+2
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* bash: updated some paths and env. variablesMiquel Sabaté Solà2019-08-231-6/+3
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Complete re-structuring so it's easier to installMiquel Sabaté Solà2019-08-221-0/+151
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>