Alias cat to always add a newline
Sometimes if a file doesn't have a newline cat will not do one, causing prompt strangeness
This commit is contained in:
parent
ae09d9af9d
commit
fd08d4ed13
@ -15,3 +15,9 @@ maths()
|
||||
{
|
||||
bc -l <<< "scale=2; $*"
|
||||
}
|
||||
|
||||
cat_with_newline()
|
||||
{
|
||||
cat "$@" && echo
|
||||
}
|
||||
alias cat="cat_with_newline"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user