aboutsummaryrefslogtreecommitdiffstats
path: root/oni-tramp.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-03-06 23:14:58 -0800
committerGravatar Tom Willemse2019-03-06 23:14:58 -0800
commite3ebfb8084349871d7452c60b0e640a93d84f492 (patch)
tree3a3deff5acc945eae1945456c76a8f2332912dcf /oni-tramp.el
parent05bcca042389f57b4a75f776c3b09f46cd688b11 (diff)
downloademacs-config-e3ebfb8084349871d7452c60b0e640a93d84f492.tar.gz
emacs-config-e3ebfb8084349871d7452c60b0e640a93d84f492.zip
Add oni-tramp
Diffstat (limited to 'oni-tramp.el')
-rw-r--r--oni-tramp.el36
1 files changed, 36 insertions, 0 deletions
diff --git a/oni-tramp.el b/oni-tramp.el
new file mode 100644
index 0000000..8061f49
--- /dev/null
+++ b/oni-tramp.el
@@ -0,0 +1,36 @@
+;;; oni-tramp.el --- Tramp configuration -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2019 Tom Willemse
+
+;; Author: Tom Willemse <tom@ryuslash.org>
+;; Keywords: local
+;; Version: 20190306231349
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Tramp configuration.
+
+;;; Code:
+
+(require 'tramp-cache)
+
+(setq tramp-persistency-file-name
+ (concat user-emacs-directory "data/tramp"))
+
+;;;###autoload(with-eval-after-load 'tramp (require 'oni-tramp))
+
+(provide 'oni-tramp)
+;;; oni-tramp.el ends here