aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/config.fish
blob: d33c384d91402c8e872dd255b48268e94b975d90 (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
if status is-interactive
    # Commands to run in interactive sessions can go here
        fish_vi_key_bindings   

    # Personal Aliases
        alias s="cd ~/.local/share/scripts && lsd --group-dirs first -h --icon-theme unicode -L"
        alias d="disown"
        alias c="cal"
        alias w="curl wttr.in"
        alias x="startx"

    # Pomodoro Timer Aliases | Thanks to @bashbunni and @caarlos0
        alias work="timer 30m && notify-send \
        'Pomodoro' 'Work Timer is up! Take a Break 😊' -i \
        '/home/kylert/.cache/pomo/pomo-tomato.png' -t 30000 -w -A 'Dismiss'\
        & disown; mpv '/home/kylert/.cache/pomo/pomo-sound.mp3'"
        
        alias rest="timer 10m && notify-send \
        'Pomodoro' 'Break is over! Get back to work 😬' -i \
        '/home/kylert/.cache/pomo/pomo-tomato.png' -t 30000 -w -A 'Dismiss'\
        & disown; mpv '/home/kylert/.cache/pomo/pomo-sound.mp3'"

    # Command Substitutions | I'm trying out the Rust Coreutils Re-write via the coreutils-hybrid package
        alias echo="uu-echo"
        alias ls="uu-ls --group-directories-first -h -p --color -F"
        alias pwd="uu-pwd"
        alias groups=uu-groups
        alias kill=uu-kill

        # Plan9 Utils Command Substitutions
        alias sort="9 sort"
        alias grep="9 grep"

    # Environment Variable Declarations
        export PF_INFO="ascii title os kernel uptime pkgs memory"

    # LESS TERMCAP Variables (for colored man pages)
        set -gx LESS_TERMCAP_mb \e'[1;32m'
        set -gx LESS_TERMCAP_md \e'[1;32m'
        set -gx LESS_TERMCAP_me \e'[0m'
        set -gx LESS_TERMCAP_se \e'[0m'
        set -gx LESS_TERMCAP_so \e'[01;31m'
        set -gx LESS_TERMCAP_ue \e'[0m'
        set -gx LESS_TERMCAP_us \e'[1;4;33m'
    
end