blob: 7825d8b4af66dd14659d69261731f1464bd294f5 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
setup_env
alias rm "rm -i"
alias ls 'ls --group-directories-first -vhF --color=always'
alias hh 'cd $HOME'
alias bk 'cd $OLDPWD'
alias um 'udevil mount'
alias uu 'udevil umount'
alias t "date +%H\ %M\ %S | dc -e '6k???86400/r1440/+r24/+p'"
alias .. 'cd ..'
alias ... 'cd ../..'
alias .... 'cd ../../..'
alias ..... 'cd ../../../..'
alias ...... 'cd ../../../../..'
alias performance 'sudo cpupower frequency-set -g performance'
alias powersave 'sudo cpupower frequency-set -g powersave'
alias lower "tr '[:upper:]' '[:lower:]'"
alias upper "tr '[:lower:]' '[:upper:]'"
function fish_user_key_bindings
bind \eh backward-kill-word
end
function j
ce $argv
cd (head -n 1 "$HOME/.local/share/dir_lst")
end
function c
echo 'scale=13;' $argv | bc -l
end
function hd
hexdump -e '"%08.8_ax " 8/1 "%02X " " - " 8/1 "%02X "' -e '" |" "%_p"' -e '"|\n"' "$argv"
end
function fish_title
echo fsh
end
if status is-login
if test -z "$DISPLAY"; and test $XDG_VTNR -eq 1;
exec startx -- -keeptty
end
end
|