all repos — dotfiles @ 9f6853476ca0455c9bd624cd79c2a89158e542bf

my *nix dotfiles

bash/aliases (view raw)

 1#!/usr/bin/env bash
 2
 3alias gah='sudo $(fc -ln -1)'
 4alias nvime="nvim ~/.config/nvim/init.vim"
 5alias socks="ssh -D 8008 emerald -fN"
 6alias o="xdg-open"
 7alias gc="git commit -v -s"
 8alias gst="git status --short"
 9alias ga="git add"
10alias gd="git diff --minimal"
11alias gl="git log --oneline --decorate --graph"
12alias ls="ls --color"
13alias vim="nvim"
14alias xi="sudo xbps-install -S"
15alias xr="sudo xbps-remove -R"
16alias xs="xbps-query -Rs"
17
18function up {
19	~/bin/icyup.sh "$1"
20}
21
22function nvmon {
23	source ~/.nvm/nvm.sh
24}
25
26function envac {
27	source .env/bin/activate
28}
29
30function vpn {
31	~/bin/vpnon.sh
32}
33
34function f() {
35    fff "$@"
36    cd "$(cat "${XDG_CACHE_HOME:=${HOME}/.cache}/fff/.fff_d")"
37}
38