You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, those might be be trivial to fix, but as my Hakell knowledge is ~0.
I'll prefer to open issues that trying to fix it myself.
Just home -> do
dotIpython <- test_d . fromText $ home ++ "/.ipython"
dotConfigIpython <- test_d . fromText $ home ++ "/.config/ipython"
when (not dotIpython && not dotConfigIpython) $ do
putStrLn "Could not find ~/.ipython or ~/.config/ipython."
error "Could not find IPython directory."
return $ home ++ (if dotIpython
then "/.ipython"
else "/.config/ipython")
You can just execute in a subshell ipython locate it will give you where ipython is expecting its conf to live and will work more reliably on some platform.
The text was updated successfully, but these errors were encountered:
Thanks, will fix. Should be easy with runHandle path ["locate"] $ liftIO . StrictIO.hGetContents; also should probably change the case to just use when and monadic fail...
Sorry, those might be be trivial to fix, but as my Hakell knowledge is ~0.
I'll prefer to open issues that trying to fix it myself.
You can just execute in a subshell
ipython locate
it will give you where ipython is expecting its conf to live and will work more reliably on some platform.The text was updated successfully, but these errors were encountered: