add file operation aliases
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
alias l=lfcd
 | 
			
		||||
# New commands
 | 
			
		||||
alias clip="xclip -selection clipboard"
 | 
			
		||||
alias phone="simple-mtpfs"
 | 
			
		||||
alias bell="paplay /usr/share/sounds/freedesktop/stereo/complete.oga"
 | 
			
		||||
@@ -16,9 +16,15 @@ alias ffplay="swallow ffplay $@"
 | 
			
		||||
alias shutdown="shutdown -P now"
 | 
			
		||||
alias untar="tar -xvf $@"
 | 
			
		||||
alias cura="cura5 -platformtheme gtk3"
 | 
			
		||||
alias cp="cp -iv"
 | 
			
		||||
alias mv="mv -iv"
 | 
			
		||||
alias rm="rm -vI"
 | 
			
		||||
 | 
			
		||||
# if lfrun doesn't exist
 | 
			
		||||
# alias l=". ranger"
 | 
			
		||||
# User lfcd by default (it should exist), fall back
 | 
			
		||||
# to ranger if lfcd isn't found. IDK why you wouldn't
 | 
			
		||||
# have either
 | 
			
		||||
[ -x "$(command -v ranger)"] && alias l=". ranger"
 | 
			
		||||
[ -x "$(command -v lfcd)" ] && alias l="lfcd"
 | 
			
		||||
 | 
			
		||||
# enable color support of ls and also add handy aliases
 | 
			
		||||
if [ -x /usr/bin/dircolors ]; then
 | 
			
		||||
@@ -27,4 +33,3 @@ if [ -x /usr/bin/dircolors ]; then
 | 
			
		||||
    alias grep='grep --color=auto'
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user