-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't open Dockerfile or .dockerfile #717
Comments
Thank you for reporting this. Could you please show the output of
|
I would guess that something is wrong with your pager. Could you try to run
? To debug this further, could you please show the output of the following script: set -x
bat --version
bat --config-file
bat --cache-dir
less --version
bat "$(bat --config-file)"
ls "$(bat --cache-dir)"
set +x
echo "BAT_PAGER = '$BAT_PAGER'"
echo "BAT_CONFIG_PATH = '$BAT_CONFIG_PATH'"
echo "BAT_STYLE = '$BAT_STYLE'"
echo "BAT_THEME = '$BAT_THEME'"
echo "BAT_TABS = '$BAT_TABS'"
echo "PAGER = '$PAGER'"
echo "LESS = '$LESS'" |
The /Users/davidfilat/.config/bat/config
/Users/davidfilat/.cache/bat
less 487 (POSIX regular expressions)
Copyright (C) 1984-2016 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Homepage: http://www.greenwoodsoftware.com/less
# Set the theme to "TwoDark"
--theme="Dracula"
# Show line numbers, Git modifications and file header (but no grid)
--style="numbers,changes,header"
# Use italic text on the terminal (not supported on all terminals)
--italic-text=always
# Add mouse scrolling support in less (does not work with older
# versions of "less")
--pager="less -FR"
# Use C++ syntax (instead of C) for .h header files
--map-syntax h:cpp
# Use "gitignore" highlighting for ".ignore" files
--map-syntax .ignore:.gitignoresyntaxes.bin
themes.bin
BAT_PAGER = ''
BAT_CONFIG_PATH = ''
BAT_STYLE = ''
BAT_THEME = 'Dracula'
BAT_TABS = ''
PAGER = 'less'
LESS = '-R' |
@sharkdp I wanted to let you know that installing the Homebrew version of less pager fixed the issue for me. It seems the Less version delivered with Catalina is outdated. |
The problem is that you added Still, adding |
Than you very much for your help, @sharkdp! Deeply appreciate it! |
I have installed the latest build and tried to open the Dockerfile for my project and it didn't open at all. I mean nothing happened, the prompt just asked me for the next command.
The text was updated successfully, but these errors were encountered: