Use ~ in redirect