mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
bashrc & zshrc & warnings: add unixle and msdosle to convert line endings.
This commit is contained in:
parent
6b27107ca4
commit
637a58beb0
4
bashrc
4
bashrc
@ -350,6 +350,10 @@ alias move=mv # MSDOS
|
||||
# List git committers of repository
|
||||
alias git-committers="git shortlog -s"
|
||||
|
||||
# Line ending converting with flip
|
||||
alias unixle="flip -ub "
|
||||
alias msdosle="flip -mb "
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
1
warnings
1
warnings
@ -6,6 +6,7 @@ command -v \lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! Y
|
||||
command -v \gpg-agent >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg-agent isn't installed. You should install it, because it's used by gpg.conf and xsessionrc in shell-things."; }
|
||||
command -v \curl >/dev/null 2>&1 || { echo >&2 "WARNING: curl isn't installed! You should install it, because it's used by some aliases or functions."; }
|
||||
command -v \pandoc >/dev/null 2>&1 || { echo >&2 "WARNING: pandoc isn't installed. It's used by some aliases or functions, so you might want to install it."; }
|
||||
command -v \flip >/dev/null 2>&1 || { echo >&2 "WARNING: flip isn't installed. You might want to install it, because it's used in line ending conversions."; }
|
||||
|
||||
## To disable warnings, add the following (UNCOMMENTED!) to ~/.custom
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user