blob: 494a98b4b0bf401e085630d0ad7ba6f40ce71e10 (
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
|
# 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'"
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
|