# this will allow aliasing any command after sudo
 alias sudo='sudo '
 
-alias ls='ls --color=auto'
-alias l='ls --color=auto -F'
 alias ls='ls --color=auto -F'
+alias l='ls'
 alias ll='ls -lh --color=auto -F'
 alias la='ls -lha --color=auto -F'
 
 
 if [[ -n "${VIM_TERMINAL}" ]]; then
     function vim() {
+        if (( ${#@} == 0 )); then
+            echo "Running in Vim's terminal, at least one file must be given!" >&2
+            return 22
+        fi
         for f in "$@"; do
             if [[ "${f:0:1}" == "-" ]]; then
                 echo "Running in Vim's terminal, not accepting options!" >&2
         for f in "$@"; do
             # drop the file onto the running vim instance
             # see :h terminal-communication
-            echo -e "\e]51;[\"drop\", \"$f\"]\a"
+            local abspath=$(realpath $f)
+            echo -e "\e]51;[\"drop\", \"$abspath\"]\a"
         done
     }
 fi