I spent some time on customizing my configuration like many people do. Basically I symlink all my dotfiles (.zshrc, .vimrc,...) from a git repository then I changed a lot of stuff.
I'm on Mac OS X and my configuration works very well. However when I use the same dotfiles on Linux (Ubuntu) I get some differences. Most of them are minor differences but on is VERY annoying.
I use ZSH and prezto
When I do cd I get this message
20:17 ~ ❯ cd Projects
script: invalid option -- 'G'
Usage:
script [options] [file]
Options:
-a, --append append the output
-c, --command <command> run command rather than interactive shell
-r, --return return exit code of the child process
-f, --flush run flush after each write
--force use output file even when it is a link
-q, --quiet be quiet
-t, --timing[=<file>] output timing data to stderr (or to FILE)
-V, --version output version information and exit
-h, --help display this help and exit
The type command (type cd) give me
cd is an alias for nocorrect cd
cd is a shell builtin
I am posting here to know if anyone know a way to debug this kind of error. The error message isn't very clear and I don't know what and where to look for.
Any ideas ?
Most of my configuration comes from many other people's configuration.