~armaan/dotfiles

b1283718ff10dc44c4d98a5c80f2a695ce12042d — Armaan Bhojwani 3 months ago a78adba
ash: switch to xsel
1 files changed, 3 insertions(+), 2 deletions(-)

M .config/ash/ashrc
M .config/ash/ashrc => .config/ash/ashrc +3 -2
@@ 5,7 5,7 @@ finger() {
}

_uprint() {
    echo "https://l.armaanb.net/$(basename "$1")" | tee /dev/tty | xclip -sel c
    echo "https://l.armaanb.net/$(basename "$1")" | tee /dev/tty | xsel
}

_uup() {


@@ 19,7 19,7 @@ ufile() {

uclip() {
    tmp=$(mktemp)
    xclip -o -sel c >> "$tmp"
    xsel >> "$tmp"
    basetmp=$(echo "$tmp" | tail -c +5)
    _uup "$tmp" "$basetmp"
    _uprint "$basetmp"


@@ 46,6 46,7 @@ export LESSHISTFILE=/dev/null

export PASH_KEYID=me@armaanb.net
export PASH_LENGTH=20
export PASH_CLIP=xsel

export PATH="/home/armaa/src/bin:$PATH"
export PATH="/home/armaa/src/bin/bin:$PATH"