Updated fish shell aliases

This commit is contained in:
Roger Gonzalez 2025-05-27 13:40:58 -03:00
parent b000a86088
commit 1a94b650cc
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
3 changed files with 5 additions and 14 deletions

View File

@ -1,13 +0,0 @@
# fish_dotfiles
This are my fish dotfiles.
## How it looks
![rogs-fish-preview](https://raw.githubusercontent.com/Rogergonzalez21/fish_dotfiles/master/preview.png)
## Uses
- [Fisher](https://github.com/jorgebucaran/fisher)
- [Oh my fish!](https://github.com/oh-my-fish/oh-my-fish)
- [Bobthefish](https://github.com/oh-my-fish/theme-bobthefish)
- My own abbreviations

View File

@ -114,6 +114,8 @@ alias emacs="emacsclient -c -a 'emacs'"
alias grep="rg -n --with-filename --smart-case"
# Specific xrandr command to configure displays for a docking station setup
alias dock="xrandr --output DP-2-3 --auto --primary --left-of DP-2-1 --output DP-2-1 --auto --output eDP-1 --off"
# Cool cmatrix
alias cmatrix="cmatrix -a -r"
#+end_src
** External Configuration
@ -143,7 +145,7 @@ alias fix-bluetooth="sudo systemctl restart bluetooth.service && sleep 10 && sud
# Use xprop to get the WM_CLASS property of a window (useful for window manager rules)
alias get-class="xprop | grep WM_CLASS"
# Update the aider-chat tool using uv and pip, ensuring playwright dependencies are met
alias update-aider="uv tool install --force --python python3.12 aider-chat@latest && /home/roger/.local/share/uv/tools/aider-chat/bin/python3 -m pip install --upgrade --upgrade-strategy only-if-needed aider-chat[playwright] && /home/roger/.local/share/uv/tools/aider-chat/bin/python3 -m playwright install chromium"
alias update-aider="uv tool install --force --python python3.12 --with pip aider-chat@latest && /home/roger/.local/share/uv/tools/aider-chat/bin/python3 -m pip install --upgrade --upgrade-strategy only-if-needed aider-chat[playwright] && /home/roger/.local/share/uv/tools/aider-chat/bin/python3 -m playwright install chromium"
#+end_src
** External Tools Integration

View File

@ -41,6 +41,8 @@ alias emacs="emacsclient -c -a 'emacs'"
alias grep="rg -n --with-filename --smart-case"
# Specific xrandr command to configure displays for a docking station setup
alias dock="xrandr --output DP-2-3 --auto --primary --left-of DP-2-1 --output DP-2-1 --auto --output eDP-1 --off"
# Cool cmatrix
alias cmatrix="cmatrix -a -r"
# Source a separate file containing custom Fish shell abbreviations
source "$HOME/.config/fish/abbreviations.fish"