Skip to content

Instantly share code, notes, and snippets.

@SaBenBurra
Created February 17, 2024 07:58
Show Gist options
  • Save SaBenBurra/0e87ec3e4ce930ba49bae407c6f993a7 to your computer and use it in GitHub Desktop.
Save SaBenBurra/0e87ec3e4ce930ba49bae407c6f993a7 to your computer and use it in GitHub Desktop.
custom part of my .bashrc
export PATH="/home/$USER/.local/bin:$PATH"
export PATH="/home/$USER/apps/neovim/bin:$PATH"
export PATH="/home/$USER/apps/Discord:$PATH"
export PATH="$PATH:/home/$USER/bin/flutter/bin"
alias snow="systemctl poweroff"
alias sus="systemctl suspend"
alias vicon="volumeicon &"
alias discord="Discord"
alias cpwd='directory=$(pwd); echo "$directory" > /tmp/directory.txt;clear'
alias cpd='directory=$(cat /tmp/directory.txt); cd "$directory";clear'
alias tailwind='npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch'
alias diskumount='sudo umount ~/disk'
alias disablecam='sudo modprobe -r uvcvideo'
alias stockassist="/home/$USER/shell_scripts/run_stock_assistant.sh"
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
comp() {
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release; cmake --build build;$1;
}
diskmount() {
sudo mount -t ntfs-3g $1 ~/disk;
}
toen() {
trans $1;
}
totr() {
trans :tr $1;
}
export VISUAL=lvim;
export EDITOR=lvim;
export SUDO_EDITOR=lvim;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment