blob: 8c30e124f8bf1e878465057eea5656bbcbb329a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# if status is-interactive
# Commands to run in interactive sessions can go here
# end
# Disable fish greeting
set fish_greeting
# Aliases
alias ..='cd ..'
alias ...='cd ../..'
alias yt="youtube-dl -f bestvideo+bestaudio "
alias yt-audio="youtube-dl --extract-audio --audio-format best "
alias ls='exa'
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
alias winejp='LC_ALL="ja_JP" wine'
alias doom='$HOME/.emacs.d/bin/doom'
alias emacs="emacsclient -c -a 'emacs'"
alias vim="nvim"
alias ga="git add ."
alias gs="git status"
alias gl="config log --oneline --decorate --all --graph"
alias gm="git commit -m"
function sudo --description "Replacement for Bash 'sudo !!' command to run last command using sudo."
if test "$argv" = !!
eval command sudo $history[1]
else
command sudo $argv
end
end
|