use ~ instead of absolute path