summaryrefslogtreecommitdiffstats
path: root/.config/fish/config.fish
blob: 0cd7cd9fef32c675314c29e8c30a4e0495be7a33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash
function fish_prompt -d "Write out the prompt"
    printf '(%s%s %s%s%s)> ' (set_color 'magenta') (hostname|cut -d . -f 1) (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
end

function cower
    /usr/bin/cower --color=always --target=$HOME/var/aur $argv
end

function grep
    /bin/grep --color=always $argv
end

function less
    /bin/less -FXRS $argv
end

set PAGER less