Some cleaning, adds bashrc for those who don't want / can't install zsh

This commit is contained in:
2019-05-03 10:00:51 +02:00
parent 085fff8534
commit 48ed262105
9 changed files with 114 additions and 33 deletions

8
bin/copy Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
if [ $# -eq 0 ]; then
xclip -selection c
else
file_type=$(file -b --mime-type "$1")
xclip -selection c -t $file_type < $1
fi